mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Update uistate hackery. Need to get rid of this from PCMain.cpp...
This commit is contained in:
1 parent
9a6d1ce7e7
commit
c3fffa291b
1 file changed
+3
-3
+3
-3
@@ -45,7 +45,7 @@ SDLJoystick *joystick = NULL;
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Config.h"
|
||||
|
||||
GlobalUIState lastUIState = UISTATE_MENU;
|
||||
GlobalUIState GetUIState();
|
||||
#endif
|
||||
|
||||
static SDL_Surface* g_Screen = NULL;
|
||||
@@ -783,8 +783,8 @@ int main(int argc, char *argv[]) {
|
||||
break;
|
||||
NativeRender();
|
||||
#if defined(PPSSPP) && !defined(MOBILE_DEVICE)
|
||||
if (lastUIState != globalUIState) {
|
||||
lastUIState = globalUIState;
|
||||
if (lastUIState != GetUIState()) {
|
||||
lastUIState = GetUIState();
|
||||
if (lastUIState == UISTATE_INGAME && g_Config.bFullScreen && !g_Config.bShowTouchControls)
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
if (lastUIState != UISTATE_INGAME && g_Config.bFullScreen)
|
||||
|
||||
Reference in new issue
Block a user