GSDumpReplayer: Fix frame advancing

It would always advance by two frames before.
This commit is contained in:
Connor McLaughlin 2022-12-12 23:22:53 +10:00 committed by refractionpcsx2
parent 34fad0bf98
commit 06081ca18b
1 changed files with 1 additions and 1 deletions

View File

@ -284,11 +284,11 @@ void GSDumpReplayerCpuStep()
case GSDumpTypes::GSType::VSync: case GSDumpTypes::GSType::VSync:
{ {
s_dump_frame_number++; s_dump_frame_number++;
GSDumpReplayerCpuCheckExecutionState();
GSDumpReplayerUpdateFrameLimit(); GSDumpReplayerUpdateFrameLimit();
GSDumpReplayerFrameLimit(); GSDumpReplayerFrameLimit();
GetMTGS().PostVsyncStart(false); GetMTGS().PostVsyncStart(false);
VMManager::Internal::VSyncOnCPUThread(); VMManager::Internal::VSyncOnCPUThread();
GSDumpReplayerCpuCheckExecutionState();
} }
break; break;