Core::GetState: Avoid Global System Accessor

This commit is contained in:
mitaclaw committed 2024-04-08 16:23:23 -07:00
1 parent db0cd82326
commit eb92d6f0a8
42 files changed
+135 -101

No files matched your search

@@ -441,7 +441,7 @@ void MemoryViewWidget::UpdateColumns()
if (m_table->item(1, 1) == nullptr)
return;
if (Core::GetState() == Core::State::Paused)
if (Core::GetState(m_system) == Core::State::Paused)
{
const Core::CPUThreadGuard guard(m_system);
UpdateColumns(&guard);