mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Enable --escape-exit for all relevant platforms. It makes PPSSPP more front-end friendly by letting escape quit the emu.
This commit is contained in:
1 parent
4394d034b3
commit
6bedad2aa5
4 files changed
+18
-9
No files matched your search
+5
-4
@@ -168,7 +168,11 @@ std::string System_GetProperty(SystemProperty prop) {
|
||||
}
|
||||
}
|
||||
|
||||
void System_SendMessage(const char *command, const char *parameter) {}
|
||||
void System_SendMessage(const char *command, const char *parameter) {
|
||||
if (!strcmp(command, "finish")) {
|
||||
PostMessage(MainWindow::GetHWND(), WM_CLOSE, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void EnableCrashingOnCrashes()
|
||||
{
|
||||
@@ -340,9 +344,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
|
||||
if (!strncmp(__argv[i], "--windowed", strlen("--windowed")))
|
||||
g_Config.bFullScreen = false;
|
||||
|
||||
if (!strncmp(__argv[i], "--escapeexitsemu", strlen("--escapeexitsemu")))
|
||||
g_Config.bEscapeExitsEmulator = true;
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
Reference in new issue
Block a user