Debugger: Update breakpoint tags on emulation stop

This commit is contained in:
VampireFlower 2026-05-05 14:19:44 -04:00
parent b0eb643c61
commit f75fbe0243

View File

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