summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp b/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp
index b16f150d74..b650ac2655 100644
--- a/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp
@@ -153,8 +153,9 @@ void CBreakPointWindow::OnSelectBP(wxListEvent& event)
// Clear all breakpoints and memchecks
void CBreakPointWindow::OnClear(wxCommandEvent& WXUNUSED(event))
{
- PowerPC::breakpoints.Clear();
- PowerPC::memchecks.Clear();
+ PowerPC::debug_interface.ClearAllBreakpoints();
+ PowerPC::debug_interface.ClearAllMemChecks();
+
NotifyUpdate();
}