mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +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
@@ -97,6 +97,10 @@ static volatile CPUThreadState cpuThreadState = CPU_THREAD_NOT_RUNNING;
|
||||
|
||||
static GPUBackend gpuBackend;
|
||||
|
||||
void ResetUIState() {
|
||||
globalUIState = UISTATE_MENU;
|
||||
}
|
||||
|
||||
void UpdateUIState(GlobalUIState newState) {
|
||||
// Never leave the EXIT state.
|
||||
if (globalUIState != newState && globalUIState != UISTATE_EXIT) {
|
||||
|
||||
Reference in new issue
Block a user