From bc67fc97c39628c76a4dbca411b0e8a9bfaf726a Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 26 Jun 2024 20:34:16 +0200 Subject: Revert "Audit uses of IsRunning and GetState" This reverts commit 72cf2bdb87f09deff22e1085de3290126aa4ad05. 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. --- Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index 7f0e50db74..51f2814d9b 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -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(); -- cgit v1.2.3