diff options
| author | JMC47 <JMC4789@gmail.com> | 2024-09-26 18:20:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-26 18:20:43 -0400 |
| commit | d4d3acb79637b683fcd2ce52f420200fb70b87c9 (patch) | |
| tree | aadb6f66603d616dde5eb7ac20a61c1b91b80289 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | |
| parent | 0d7e94e8b3019a3eeffe0b1f454ece1342c0911e (diff) | |
| parent | 4f821f43323b0ab23c965941b06d1f8337fc3367 (diff) | |
Merge pull request #13065 from mitaclaw/ppc-breakpoints-signal
DolphinQt: A Ubiquitous Signal For When Breakpoints Change
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 |
