This commit is contained in:
VampireFlower 2025-12-15 17:14:34 -06:00 committed by GitHub
commit f414edd226
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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