all repos — mgba @ 58f97980e72884beed5da52f02efbabb4edc3722

mGBA Game Boy Advance Emulator

3DS: Don't wait for VBlank when running behind refresh rate
Yuri Kunde Schlesner yuriks@yuriks.net
Tue, 15 Sep 2015 22:56:33 -0300
commit

58f97980e72884beed5da52f02efbabb4edc3722

parent

6c780a39e114fc62ecf5d8671a949d8b4ad938d7

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

jump to
M src/platform/3ds/main.csrc/platform/3ds/main.c

@@ -68,7 +68,7 @@

void* outputFramebuffer = gfxGetFramebuffer(screen, GFX_LEFT, &height, &width); ctrGpuEndFrame(outputFramebuffer, width, height); gfxSwapBuffersGpu(); - gspWaitForVBlank(); + gspWaitForEvent(GSPEVENT_VBlank0, false); } static void _setup(struct GBAGUIRunner* runner) {