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:
parent
ec69ed2173
commit
df8c0d2b39
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue