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.
This commit is contained in:
TryTwo 2023-11-16 10:41:53 -07:00
parent ec69ed2173
commit df8c0d2b39
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ State GetState()
if (s_hardware_initialized) if (s_hardware_initialized)
{ {
auto& system = Core::System::GetInstance(); auto& system = Core::System::GetInstance();
if (system.GetCPU().IsStepping() || s_frame_step) if (system.GetCPU().IsStepping())
return State::Paused; return State::Paused;
return State::Running; return State::Running;