all repos — mgba @ 4eeff830ed69a1a1207b41b94e98e8dfbe25964c

mGBA Game Boy Advance Emulator

Switch: Fix fast-forward limiting
Vicki Pfau vi@endrift.com
Sun, 16 Sep 2018 15:36:48 -0700
commit

4eeff830ed69a1a1207b41b94e98e8dfbe25964c

parent

21db83035a284fb2c40682a6992d16e7e28e1c51

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

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

@@ -148,7 +148,7 @@ glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

} static void _drawEnd(void) { - if (frameLimiter || (framecount & 2) == 0) { + if (frameLimiter || (framecount & 3) == 0) { eglSwapBuffers(s_display, s_surface); } }