From f75fbe0243f5834a62bd4a6cf100eadd7f6dbc66 Mon Sep 17 00:00:00 2001 From: VampireFlower Date: Tue, 5 May 2026 14:19:44 -0400 Subject: [PATCH] Debugger: Update breakpoint tags on emulation stop --- .../Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index a5f5ef6eea..14ecf8ee93 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -223,11 +223,15 @@ MemoryViewWidget::MemoryViewWidget(Core::System& system, QWidget* parent) [this] { UpdateDispatcher(UpdateType::Symbols); }); connect(Host::GetInstance(), &Host::PPCBreakpointsChanged, this, &MemoryViewWidget::UpdateBreakpointTags); - connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this] { - // UpdateDisasmDialog currently catches pauses, no need to signal it twice. - if (Core::GetState(m_system) != Core::State::Paused) - UpdateDispatcher(UpdateType::Values); - }); + connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, + [this](const Core::State state) { + // UpdateDisasmDialog currently catches pauses, no need to signal it twice. + if (state != Core::State::Paused) + UpdateDispatcher(UpdateType::Values); + + if (state == Core::State::Uninitialized) + UpdateBreakpointTags(); + }); connect(Host::GetInstance(), &Host::UpdateDisasmDialog, this, [this] { // Disasm spam will break updates while running. Only need it for things like steps when paused // and breaks which trigger a pause.