diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-12-20 14:00:33 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-12-20 14:00:33 +0000 |
| commit | 01598750b91ff863fe68133d7f1de904d1ee22e7 (patch) | |
| tree | bc3287bd30d898e0cdafcbb1deb2fad05e14d1bb /Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp | |
| parent | 66853d6f1be0a3452d805b49c9b78c0c542293a3 (diff) | |
Cleanup the breakpoint code a bit, fix updating the breakpoint window when clicking in the bp column in the code view.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1607 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp b/Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp index 2adc1413c7..135d019703 100644 --- a/Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp +++ b/Source/Core/DebuggerWX/Src/MemoryCheckDlg.cpp @@ -19,6 +19,7 @@ #include "Common.h" #include "Debugger.h" #include "StringUtil.h" +#include "Host.h" #include "Debugger/Debugger_BreakPoints.h" BEGIN_EVENT_TABLE(MemoryCheckDlg,wxDialog) @@ -100,8 +101,8 @@ void MemoryCheckDlg::OnOK(wxCommandEvent& /*event*/) MemCheck.Log = true; MemCheck.Break = true; - CBreakPoints::AddMemoryCheck(MemCheck); - CBreakPoints::UpdateBreakPointView(); + MemChecks::Add(MemCheck); + Host_UpdateBreakPointView(); Close(); } } |
