all repos — mgba @ 619539b7dc891a19b40fd56c6682779d63d53d2f

mGBA Game Boy Advance Emulator

3DS: Fix video sync
Jeffrey Pfau jeffrey@endrift.com
Mon, 17 Aug 2015 02:02:26 -0700
commit

619539b7dc891a19b40fd56c6682779d63d53d2f

parent

f453dbd7f1ba7f7adcd29d8bc10c3c7545a59965

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

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

@@ -77,8 +77,8 @@ screen[startY - y + (startX + x) * height] = videoBuffer[y * VIDEO_HORIZONTAL_PIXELS + x];

} } gfxFlushBuffers(); - gfxSwapBuffersGpu(); - gspWaitForVBlank(); + gfxSwapBuffers(); + gspWaitForVBlank1(); hidScanInput(); activeKeys = hidKeysHeld() & 0x3FF; if (hidKeysDown() & KEY_X) {