System: Zero downcount at end of frame

Prevents code running after vblank starts, and fixes events getting
delayed in interpreter mode.
This commit is contained in:
Connor McLaughlin 2020-12-01 01:16:47 +10:00
parent 48f3bc7045
commit 37c9e69b3e
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ void FrameDone()
{
s_frame_number++;
CPU::g_state.frame_done = true;
CPU::g_state.downcount = 0;
}
void IncrementInternalFrameNumber()