all repos — mgba @ 9865b7de4c457cf08ff10d43c7e4d98d9d4d50b5

mGBA Game Boy Advance Emulator

DS: Allow pausing event loop between frames
Vicki Pfau vi@endrift.com
Sat, 18 Jul 2020 15:42:14 -0700
commit

9865b7de4c457cf08ff10d43c7e4d98d9d4d50b5

parent

000b49e45b30ec9c856b7b2e8cf8baee21daa56d

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/ds/video.csrc/ds/video.c

@@ -455,6 +455,7 @@ mCoreSyncPostFrame(video->p->sync);

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);