libretro: Move flip screen counter increment back to end of flip screen callback
authortwinaphex <autechre1024@hotmail.com>
Tue, 4 Dec 2012 15:38:01 +0000 (16:38 +0100)
committernotaz <notasas@gmail.com>
Mon, 10 Dec 2012 21:20:59 +0000 (23:20 +0200)
frontend/libretro.c

index e505804..180c1d7 100644 (file)
@@ -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)