CPU: Make single step go through the "normal" execution path
That way it exits and re-enters the dynarec as expected.
This commit is contained in:
@ -1932,19 +1932,11 @@ void System::Throttle()
|
||||
|
||||
void System::SingleStepCPU()
|
||||
{
|
||||
s_frame_timer.Reset();
|
||||
s_system_executing = true;
|
||||
CPU::SetSingleStepFlag();
|
||||
|
||||
g_gpu->RestoreDeviceContext();
|
||||
|
||||
CPU::SingleStep();
|
||||
|
||||
g_gpu->FlushRender();
|
||||
SPU::GeneratePendingSamples();
|
||||
|
||||
InvalidateDisplay();
|
||||
|
||||
s_system_executing = false;
|
||||
// If this gets called when the system is executing, we're not going to end up here..
|
||||
if (IsPaused())
|
||||
PauseSystem(false);
|
||||
}
|
||||
|
||||
void System::IncrementInternalFrameNumber()
|
||||
|
||||
Reference in New Issue
Block a user