mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 04:05:27 +02:00
Make --windowed available on all platform and make sure to trigger resize
This commit is contained in:
+7
-1
@@ -595,8 +595,14 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
#endif
|
||||
if (!strncmp(argv[i], "--pause-menu-exit", strlen("--pause-menu-exit")))
|
||||
g_Config.bPauseMenuExitsEmulator = true;
|
||||
if (!strcmp(argv[i], "--fullscreen"))
|
||||
if (!strcmp(argv[i], "--fullscreen")) {
|
||||
g_Config.bFullScreen = true;
|
||||
System_SendMessage("toggle_fullscreen", "1");
|
||||
}
|
||||
if (!strcmp(argv[i], "--windowed")) {
|
||||
g_Config.bFullScreen = false;
|
||||
System_SendMessage("toggle_fullscreen", "0");
|
||||
}
|
||||
if (!strcmp(argv[i], "--touchscreentest"))
|
||||
gotoTouchScreenTest = true;
|
||||
if (!strcmp(argv[i], "--gamesettings"))
|
||||
|
||||
Reference in New Issue
Block a user