mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
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:
1 parent
57ed2149ef
commit
ffcae56209
3 files changed
+5
-3
No files matched your search
+1
-3
@@ -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)
|
||||
|
||||
@@ -227,7 +227,9 @@ public:
|
||||
bool bShowTouchAnalogStick;
|
||||
bool bShowTouchDpad;
|
||||
|
||||
#if !defined(__SYMBIAN32__) && !defined(IOS) && !defined(MEEGO_EDITION_HARMATTAN)
|
||||
bool bShowTouchPause;
|
||||
#endif
|
||||
|
||||
bool bHapticFeedback;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user