Windows debugger: Load the dialogs on demand.

I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
This commit is contained in:
Henrik Rydgård committed 2021-11-13 22:10:37 +01:00
1 parent a783f49948
commit c004e9ca9d
6 files changed
+36 -16

No files matched your search

+3
View File
@@ -896,18 +896,21 @@ namespace MainWindow {
break;
case ID_DEBUG_DISASSEMBLY:
CreateDisasmWindow();
if (disasmWindow)
disasmWindow->Show(true);
break;
case ID_DEBUG_GEDEBUGGER:
#if PPSSPP_API(ANY_GL)
CreateGeDebuggerWindow();
if (geDebuggerWindow)
geDebuggerWindow->Show(true);
#endif
break;
case ID_DEBUG_MEMORYVIEW:
CreateMemoryWindow();
if (memoryWindow)
memoryWindow->Show(true);
break;