Debugger: Update breakpoint tags on emulation stop

This commit is contained in:
VampireFlower 2025-11-17 04:23:52 -05:00
parent 56532c850f
commit 22e03fdaad

View File

@ -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