DS: Allow pausing event loop between frames

This commit is contained in:
Vicki Pfau 2020-07-18 15:42:14 -07:00
parent 000b49e45b
commit 9865b7de4c
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,7 @@ void _startHdraw9(struct mTiming* timing, void* context, uint32_t cyclesLate) {
video->frameskipCounter = video->frameskip;
}
++video->frameCounter;
video->p->earlyExit = true;
break;
case DS_VIDEO_VERTICAL_TOTAL_PIXELS - 1:
video->p->ds9.memory.io[DS_REG_DISPSTAT >> 1] = GBARegisterDISPSTATClearInVblank(dispstat);