From df8c0d2b39319057a9f611b4490f5749387052d1 Mon Sep 17 00:00:00 2001 From: TryTwo Date: Thu, 16 Nov 2023 10:41:53 -0700 Subject: [PATCH] Core::GetState() bugfix: remove forced incorrect state on frame advance. This was implemented to prevent UI flickering due to the state rapidly switching between pause/play. Recently, it has been causing issues with debugger windows, which update during frame advance. --- Source/Core/Core/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 870d4729f7..5599573e62 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -750,7 +750,7 @@ State GetState() if (s_hardware_initialized) { auto& system = Core::System::GetInstance(); - if (system.GetCPU().IsStepping() || s_frame_step) + if (system.GetCPU().IsStepping()) return State::Paused; return State::Running;