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
2026-07-19 11:54:27 +02:00
parent 6a295d183b
commit ce42ac5000
4 changed files with 5 additions and 22 deletions
+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) {