From ebaa8051a40eed146d01d1cbabeb248a1274761e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 28 Sep 2017 19:33:07 +0200 Subject: [PATCH 1/2] Remove unnecessary ifdef. Thanks Bracket-. See #9548 comments. --- ext/native/base/PCMain.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/native/base/PCMain.cpp b/ext/native/base/PCMain.cpp index 362b5ff7e1..27926428bc 100644 --- a/ext/native/base/PCMain.cpp +++ b/ext/native/base/PCMain.cpp @@ -711,7 +711,6 @@ int main(int argc, char *argv[]) { dp_yres = (float)pixel_yres * dpi_scale; NativeResized(); -#if defined(PPSSPP) // Set variable here in case fullscreen was toggled by hotkey g_Config.bFullScreen = fullscreen; @@ -721,7 +720,6 @@ int main(int argc, char *argv[]) { } else if (lastUIState != UISTATE_INGAME || !fullscreen) { SDL_ShowCursor(SDL_ENABLE); } - #endif break; } From 4de75235ff0fc2c3e031672630c6b876e8795600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 28 Sep 2017 20:27:31 +0200 Subject: [PATCH 2/2] Oops, forgot this one. --- ext/native/base/PCMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/native/base/PCMain.cpp b/ext/native/base/PCMain.cpp index 27926428bc..6a252325d7 100644 --- a/ext/native/base/PCMain.cpp +++ b/ext/native/base/PCMain.cpp @@ -858,7 +858,7 @@ int main(int argc, char *argv[]) { UpdateRunLoop(); if (g_QuitRequested) break; -#if defined(PPSSPP) && !defined(MOBILE_DEVICE) +#if !defined(MOBILE_DEVICE) if (lastUIState != GetUIState()) { lastUIState = GetUIState(); if (lastUIState == UISTATE_INGAME && g_Config.bFullScreen && !g_Config.bShowTouchControls)