From 22e03fdaad6567b7d22e68b0c888b8949ac1c4c1 Mon Sep 17 00:00:00 2001 From: VampireFlower Date: Mon, 17 Nov 2025 04:23:52 -0500 Subject: [PATCH] Debugger: Update breakpoint tags on emulation stop --- Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index 0b8ffe1d1e0..30e3bfb3721 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -226,10 +226,13 @@ 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] { + connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this] (const Core::State state) { // UpdateDisasmDialog currently catches pauses, no need to signal it twice. - if (Core::GetState(m_system) != Core::State::Paused) + 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