diff options
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index ed1ab0c7cb..1cb8c71544 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -188,6 +188,8 @@ CodeViewWidget::CodeViewWidget() }); connect(Host::GetInstance(), &Host::PPCSymbolsChanged, this, qOverload<>(&CodeViewWidget::Update)); + connect(Host::GetInstance(), &Host::PPCBreakpointsChanged, this, + qOverload<>(&CodeViewWidget::Update)); connect(&Settings::Instance(), &Settings::ThemeChanged, this, qOverload<>(&CodeViewWidget::Update)); @@ -1139,16 +1141,14 @@ void CodeViewWidget::ToggleBreakpoint() { m_system.GetPowerPC().GetBreakPoints().ToggleBreakPoint(GetContextAddress()); - emit BreakpointsChanged(); - Update(); + emit Host::GetInstance()->PPCBreakpointsChanged(); } void CodeViewWidget::AddBreakpoint() { m_system.GetPowerPC().GetBreakPoints().Add(GetContextAddress()); - emit BreakpointsChanged(); - Update(); + emit Host::GetInstance()->PPCBreakpointsChanged(); } u32 CodeViewWidget::GetContextAddress() const |
