summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2024-10-06 11:26:06 -0400
committerGitHub <noreply@github.com>2024-10-06 11:26:06 -0400
commit339f9311fb86aaf081f2e9ea2ca2c1a1071b35d6 (patch)
treead4b7398134e4344d48c8a1642d83436952d72ec /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parentd78b76790db3877d3de615fd7184d66c8764aeab (diff)
parent6ca2da53e86766f54df1ae79e65bb220b41ed7ef (diff)
Merge pull request #12918 from JosJuice/revert-revert-audit-get-state
Partially revert "Revert "Audit uses of IsRunning and GetState""
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
index 1cb8c71544..12cb8b30c5 100644
--- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
@@ -565,7 +565,7 @@ void CodeViewWidget::OnContextMenu()
QMenu* menu = new QMenu(this);
menu->setAttribute(Qt::WA_DeleteOnClose, true);
- const bool running = Core::GetState(m_system) != Core::State::Uninitialized;
+ const bool running = Core::IsRunning(m_system);
const bool paused = Core::GetState(m_system) == Core::State::Paused;
const u32 addr = GetContextAddress();