Miscellaneous changes for Blackberry.

This commit is contained in:
Sacha committed 2013-10-12 17:19:02 +10:00
1 parent 4e4b49ce70
commit d49b4fad9a
6 files changed
+44 -26

No files matched your search

+1 -3
View File
@@ -191,9 +191,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
IniFile::Section *control = iniFile.GetOrCreateSection("Control");
control->Get("HapticFeedback", &bHapticFeedback, true);
control->Get("ShowAnalogStick", &bShowAnalogStick, true);
#ifdef BLACKBERRY
control->Get("ShowTouchControls", &bShowTouchControls, pixel_xres != pixel_yres);
#elif defined(USING_GLES2)
#if defined(USING_GLES2)
std::string name = System_GetProperty(SYSPROP_NAME);
if (KeyMap::HasBuiltinController(name)) {
control->Get("ShowTouchControls", &bShowTouchControls, false);