summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-11-22 23:10:51 +0100
committerGitHub <noreply@github.com>2023-11-22 23:10:51 +0100
commit937cb8ef3a0a413e9c76c0cf90cffd8a935ab595 (patch)
treeccb8daa47dfab250efd369334ca8fdef19db0d4c /Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
parentab76b15e0557f3186dc24a34766a2f4c3f8224e7 (diff)
parentb57ba42a55099f82a71c3acede18f9de0c67bf74 (diff)
Merge pull request #12299 from TryTwo/PR_bugfix_frame_advance
Core: Add option to not report state change to SetState (bugfix)
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
index 6698a8289e..f8610e3b85 100644
--- a/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeDiffDialog.cpp
@@ -160,7 +160,7 @@ void CodeDiffDialog::ClearBlockCache()
Core::State old_state = Core::GetState();
if (old_state == Core::State::Running)
- Core::SetState(Core::State::Paused);
+ Core::SetState(Core::State::Paused, false);
Core::System::GetInstance().GetJitInterface().ClearCache();
@@ -349,7 +349,7 @@ void CodeDiffDialog::Update(bool include)
// Wrap everything in a pause
Core::State old_state = Core::GetState();
if (old_state == Core::State::Running)
- Core::SetState(Core::State::Paused);
+ Core::SetState(Core::State::Paused, false);
// Main process
if (include)