Remove the "restart emuthread" facility that isn't really working (and won't be compatible with the next refactorings)

This commit is contained in:
Henrik Rydgård committed 2026-07-20 12:02:07 +02:00
1 parent 29836ea74e
commit f022328521
4 files changed
+5 -22

No files matched your search

+2 -6
View File
@@ -446,12 +446,8 @@ namespace MainWindow {
}
static void RestartApp() {
if (System_GetPropertyBool(SYSPROP_DEBUGGER_PRESENT)) {
PostMessage(MainWindow::GetHWND(), WM_USER_RESTART_EMUTHREAD, 0, 0);
} else {
g_Config.bRestartRequired = true;
PostMessage(MainWindow::GetHWND(), WM_USER_DESTROY, 0, 0);
}
g_Config.bRestartRequired = true;
PostMessage(MainWindow::GetHWND(), WM_USER_DESTROY, 0, 0);
}
void MainWindowMenu_Process(HWND hWnd, WPARAM wParam) {