Actually force the pause button on Symbian, iOS, and Meego Harmattan.

Instead of leaving a loophole open which could allow an ini edit, just force it on for these.
This commit is contained in:
The Dax committed 2014-02-25 01:57:32 -05:00
1 parent 57ed2149ef
commit ffcae56209
3 files changed
+5 -3

No files matched your search

+1 -3
View File
@@ -433,9 +433,7 @@ static ConfigSetting controlSettings[] = {
ConfigSetting("ShowAnalogStick", &g_Config.bShowTouchAnalogStick, true),
ConfigSetting("ShowTouchDpad", &g_Config.bShowTouchDpad, true),
ConfigSetting("ShowTouchUnthrottle", &g_Config.bShowTouchUnthrottle, true),
#if defined(__SYMBIAN32__) || defined(IOS) || defined(MEEGO_EDITION_HARMATTAN)
ConfigSetting("ShowTouchPause", &g_Config.bShowTouchPause, true),
#else
#if !defined(__SYMBIAN32__) && !defined(IOS) && !defined(MEEGO_EDITION_HARMATTAN)
ConfigSetting("ShowTouchPause", &g_Config.bShowTouchPause, false),
#endif
#if defined(USING_WIN_UI)
+2
View File
@@ -227,7 +227,9 @@ public:
bool bShowTouchAnalogStick;
bool bShowTouchDpad;
#if !defined(__SYMBIAN32__) && !defined(IOS) && !defined(MEEGO_EDITION_HARMATTAN)
bool bShowTouchPause;
#endif
bool bHapticFeedback;
+2
View File
@@ -461,7 +461,9 @@ UI::ViewGroup *CreatePadLayout(float xres, float yres, bool *pause) {
int stickImage = g_Config.iTouchButtonStyle ? I_STICK_LINE : I_STICK;
int stickBg = g_Config.iTouchButtonStyle ? I_STICK_BG_LINE : I_STICK_BG;
#if !defined(__SYMBIAN32__) && !defined(IOS) && !defined(MEEGO_EDITION_HARMATTAN)
if (g_Config.bShowTouchPause)
#endif
root->Add(new BoolButton(pause, roundImage, I_ARROW, 1.0f, new AnchorLayoutParams(halfW, 20, NONE, NONE, true)))->SetAngle(90);
if (g_Config.bShowTouchCircle)