mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
Expose --escape-exit and --pause-menu-exit to be set from the ini file
You can now set --escape-exit by setting `PauseExitsEmulator = true` in [General]. You can now set --pause-menu-exit by setting `PauseMenuExitsEmulator = true` in [General].
This commit is contained in:
1 parent
da318e0974
commit
af17112bf4
3 files changed
+3
-3
No files matched your search
@@ -584,10 +584,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
fileToLog = argv[i] + strlen("--log=");
|
||||
if (!strncmp(argv[i], "--state=", strlen("--state=")) && strlen(argv[i]) > strlen("--state="))
|
||||
stateToLoad = Path(std::string(argv[i] + strlen("--state=")));
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
if (!strncmp(argv[i], "--escape-exit", strlen("--escape-exit")))
|
||||
g_Config.bPauseExitsEmulator = true;
|
||||
#endif
|
||||
if (!strncmp(argv[i], "--pause-menu-exit", strlen("--pause-menu-exit")))
|
||||
g_Config.bPauseMenuExitsEmulator = true;
|
||||
if (!strcmp(argv[i], "--fullscreen")) {
|
||||
|
||||
Reference in new issue
Block a user