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