mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most importantly for me: keeps the debugger attached.
This commit is contained in:
1 parent
638a015ced
commit
e8e65881b8
9 files changed
+33
-12
No files matched your search
@@ -882,6 +882,14 @@ namespace MainWindow
|
||||
BrowseBackgroundDone();
|
||||
break;
|
||||
|
||||
case WM_USER_RESTART_EMUTHREAD:
|
||||
NativeSetRestarting();
|
||||
EmuThread_Stop();
|
||||
coreState = CORE_POWERUP;
|
||||
ResetUIState();
|
||||
EmuThread_Start();
|
||||
break;
|
||||
|
||||
case WM_MENUSELECT:
|
||||
// Called when a menu is opened. Also when an item is selected, but meh.
|
||||
UpdateMenus(true);
|
||||
|
||||
Reference in new issue
Block a user