From 2ee53c487bfaa112fec8f740ae05717a79994264 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 4 Dec 2012 16:38:01 +0100 Subject: [PATCH] libretro: Move flip screen counter increment back to end of flip screen callback --- frontend/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index e5058045..180c1d72 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -99,6 +99,7 @@ out: #endif game_width = w; game_height = h; + pl_rearmed_cbs.flip_cnt++; } static void vout_close(void) @@ -357,7 +358,6 @@ void retro_run(void) samples_to_send += 44100 / 60; video_cb(vout_buf, game_width, game_height, game_width * 2); - pl_rearmed_cbs.flip_cnt++; } void retro_init(void) -- 2.39.5