Core::GetState: Avoid Global System Accessor
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user