mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 07:20:31 +02:00
Breakpoint window
This commit is contained in:
1 parent
0adc9c560b
commit
15eb8c8657
8 files changed
+352
-3
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "Debugger_Disasm.h"
|
||||
#include "Debugger_VFPUDlg.h"
|
||||
#include "DebuggerShared.h"
|
||||
#include "BreakpointWindow.h"
|
||||
|
||||
#include "../main.h"
|
||||
#include "CtrlRegisterList.h"
|
||||
@@ -655,9 +656,16 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
Core_WaitInactive(200);
|
||||
}
|
||||
|
||||
u32 start;
|
||||
if (executeExpressionWindow(m_hDlg,cpu,start))
|
||||
CBreakPoints::AddMemCheck(start, 0, MEMCHECK_READWRITE, MEMCHECK_BOTH);
|
||||
BreakpointWindow bpw(m_hDlg,cpu);
|
||||
if (bpw.exec())
|
||||
{
|
||||
if (bpw.isMemoryBreakpoint())
|
||||
{
|
||||
bpw.addMemcheck();
|
||||
} else {
|
||||
bpw.addBreakpoint();
|
||||
}
|
||||
}
|
||||
|
||||
if (isRunning)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user