all repos — mgba @ 9f5bfeeebb70f0ad05157df55009273726e39109

mGBA Game Boy Advance Emulator

GBA Context: Fix waiting on frames
Jeffrey Pfau jeffrey@endrift.com
Tue, 06 Oct 2015 21:26:25 -0700
commit

9f5bfeeebb70f0ad05157df55009273726e39109

parent

4db61f400be9e49fb754c0473768143010cd2c20

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

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

@@ -165,6 +165,7 @@ }

GBAFrameEnded(video->p); --video->frameskipCounter; if (video->frameskipCounter < 0) { + GBASyncPostFrame(video->p->sync); video->frameskipCounter = video->frameskip; } ++video->frameCounter;