mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
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:
1 parent
a783f49948
commit
c004e9ca9d
6 files changed
+36
-16
No files matched your search
@@ -6,6 +6,7 @@
|
||||
#include "Windows/Debugger/DebuggerShared.h"
|
||||
#include "Windows/Debugger/CtrlDisAsmView.h"
|
||||
#include "Windows/W32Util/ContextMenu.h"
|
||||
#include "Windows/MainWindow.h"
|
||||
#include "Windows/resource.h"
|
||||
#include "Windows/main.h"
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
@@ -373,10 +374,12 @@ void CtrlBreakpointList::gotoBreakpointAddress(int itemIndex)
|
||||
|
||||
if (isMemory) {
|
||||
u32 address = displayedMemChecks_[index].start;
|
||||
MainWindow::CreateMemoryWindow();
|
||||
if (memoryWindow)
|
||||
memoryWindow->Goto(address);
|
||||
} else {
|
||||
u32 address = displayedBreakPoints_[index].addr;
|
||||
MainWindow::CreateDisasmWindow();
|
||||
if (disasmWindow)
|
||||
disasmWindow->Goto(address);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user