Merge pull request #12299 from TryTwo/PR_bugfix_frame_advance

Core: Add option to not report state change to SetState (bugfix)
This commit is contained in:
Admiral H. Curtiss
2023-11-22 23:10:51 +01:00
committed by GitHub
3 changed files with 10 additions and 7 deletions

View File

@ -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)