Revert "Audit uses of IsRunning and GetState"
This reverts commit 72cf2bdb87.
SYSCONF settings are getting cleared when they shouldn't be. Let's
revert the change until I get proper time to figure out why it's broken.
This commit is contained in:
1 parent
3dbaf38eae
commit
bc67fc97c3
32 files changed
+100
-131
No files matched your search
@@ -560,7 +560,7 @@ void CodeViewWidget::OnContextMenu()
|
||||
QMenu* menu = new QMenu(this);
|
||||
menu->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
|
||||
const bool running = Core::IsRunning(m_system);
|
||||
const bool running = Core::GetState(m_system) != Core::State::Uninitialized;
|
||||
const bool paused = Core::GetState(m_system) == Core::State::Paused;
|
||||
|
||||
const u32 addr = GetContextAddress();
|
||||
|
||||
Reference in new issue
Block a user