diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-28 11:35:13 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-04-08 16:23:23 -0700 |
| commit | eb92d6f0a8c930692de64bd41c5ddee403771023 (patch) | |
| tree | 72308538d75942206b415a0b9fc50b4cc7d09533 /Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | |
| parent | db0cd82326a13febb1104efbfd9af9ad5ac2c494 (diff) | |
Core::GetState: Avoid Global System Accessor
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/RegisterWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/RegisterWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp index 47145752e6..09da5363e1 100644 --- a/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/RegisterWidget.cpp @@ -533,7 +533,7 @@ void RegisterWidget::AddRegister(int row, int column, RegisterType type, std::st void RegisterWidget::Update() { - if (isVisible() && Core::GetState() == Core::State::Paused) + if (isVisible() && Core::GetState(m_system) == Core::State::Paused) { m_updating = true; emit UpdateTable(); |
