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:
Unknown W. Brackets committed 2017-04-15 16:33:30 -07:00
1 parent 638a015ced
commit e8e65881b8
9 files changed
+33 -12

No files matched your search

+8
View File
@@ -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);