aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
authortwinaphex2012-12-04 16:38:01 +0100
committernotaz2012-12-10 23:20:59 +0200
commit2ee53c487bfaa112fec8f740ae05717a79994264 (patch)
treea34721b6d64f7da0a8f57136cb041cb3d5e3d892 /frontend/libretro.c
parentbcbe4aa4b45d8d37a6a3f1d80b4da1f3beb2be16 (diff)
downloadpcsx_rearmed-2ee53c487bfaa112fec8f740ae05717a79994264.tar.gz
pcsx_rearmed-2ee53c487bfaa112fec8f740ae05717a79994264.tar.bz2
pcsx_rearmed-2ee53c487bfaa112fec8f740ae05717a79994264.zip
libretro: Move flip screen counter increment back to end of flip screen callback
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index e505804..180c1d7 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)