diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-06-22 20:20:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-22 20:20:54 +0200 |
| commit | 9b33b777cfd26cf790a4fdf1f1d305b24c6777f7 (patch) | |
| tree | f20ed4143c13e26bc9c15767bb434a3a5985090b /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | |
| parent | 3e0bd82f8158c5551bfa133fbef86bd65b714132 (diff) | |
| parent | 72cf2bdb87f09deff22e1085de3290126aa4ad05 (diff) | |
Merge pull request #12828 from JosJuice/unify-state-variables-2
Clean up Core::GetState
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index 51f2814d9b..7f0e50db74 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::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(); |
