mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add a sysprop for IsDebuggerPresent.
This commit is contained in:
1 parent
f1bc547e94
commit
6dbe49775c
6 files changed
+12
-7
No files matched your search
@@ -418,7 +418,7 @@ namespace MainWindow {
|
||||
}
|
||||
|
||||
static void RestartApp() {
|
||||
if (IsDebuggerPresent()) {
|
||||
if (System_GetPropertyBool(SYSPROP_DEBUGGER_PRESENT)) {
|
||||
PostMessage(MainWindow::GetHWND(), WM_USER_RESTART_EMUTHREAD, 0, 0);
|
||||
} else {
|
||||
g_Config.bRestartRequired = true;
|
||||
|
||||
Reference in new issue
Block a user