From: twinaphex Date: Tue, 4 Dec 2012 15:38:01 +0000 (+0100) Subject: libretro: Move flip screen counter increment back to end of flip screen callback X-Git-Tag: r18~49^2~4 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee53c487bfaa112fec8f740ae05717a79994264;p=pcsx_rearmed.git libretro: Move flip screen counter increment back to end of flip screen callback --- 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)