mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Rework the internal API for applying the fullscreen state. Fixes.
This commit is contained in:
1 parent
d331af58ab
commit
ad4da764df
15 files changed
+85
-102
No files matched your search
@@ -582,7 +582,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
if (!strcmp(argv[i], "--fullscreen")) {
|
||||
g_Config.DoNotSaveSetting(&g_Config.bFullScreen);
|
||||
g_Config.bFullScreen = true;
|
||||
System_ToggleFullscreenState("1");
|
||||
}
|
||||
if (!strncmp(argv[i], "--root=", strlen("--root=")) && strlen(argv[i]) > strlen("--root=")) {
|
||||
g_Config.mountRoot = Path(argv[i] + strlen("--root="));
|
||||
@@ -590,7 +589,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
if (!strcmp(argv[i], "--windowed")) {
|
||||
g_Config.DoNotSaveSetting(&g_Config.bFullScreen);
|
||||
g_Config.bFullScreen = false;
|
||||
System_ToggleFullscreenState("0");
|
||||
}
|
||||
if (!strcmp(argv[i], "--touchscreentest"))
|
||||
gotoTouchScreenTest = true;
|
||||
|
||||
Reference in new issue
Block a user