all repos — mgba @ 891d0c85418ae3a43bfe5fda990c5087178ef2c4

mGBA Game Boy Advance Emulator

Wii: Fix vsync issues
Jeffrey Pfau jeffrey@endrift.com
Thu, 06 Aug 2015 00:50:58 -0700
commit

891d0c85418ae3a43bfe5fda990c5087178ef2c4

parent

607c7ec890086a3539d48285f415830b63f09bd4

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

jump to
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -227,6 +227,8 @@ return 0;

} static void GBAWiiFrame(void) { + VIDEO_WaitVSync(); + size_t x, y; uint64_t* texdest = (uint64_t*) texmem; uint64_t* texsrc = (uint64_t*) renderer.outputBuffer;

@@ -268,7 +270,6 @@

GX_CopyDisp(framebuffer[whichFb], GX_TRUE); VIDEO_SetNextFramebuffer(framebuffer[whichFb]); VIDEO_Flush(); - VIDEO_WaitVSync(); } bool GBAWiiLoadGame(const char* path) {