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:
parent
48f3bc7045
commit
37c9e69b3e
|
@ -176,6 +176,7 @@ void FrameDone()
|
||||||
{
|
{
|
||||||
s_frame_number++;
|
s_frame_number++;
|
||||||
CPU::g_state.frame_done = true;
|
CPU::g_state.frame_done = true;
|
||||||
|
CPU::g_state.downcount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void IncrementInternalFrameNumber()
|
void IncrementInternalFrameNumber()
|
||||||
|
|
Loading…
Reference in New Issue