From 3e0f624e25a2646b8b06b42e59af2b10976de8cd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 2 Aug 2014 01:54:08 +0200 Subject: [PATCH] Move check_netplay_flip to top of check_flip function --- retroarch.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/retroarch.c b/retroarch.c index 19cdb9c080..362a678084 100644 --- a/retroarch.c +++ b/retroarch.c @@ -2744,6 +2744,14 @@ static void check_grab_mouse_toggle(void) static void check_flip(void) { +#ifdef HAVE_NETPLAY + if (g_extern.netplay) + { + check_netplay_flip(); + return; + } +#endif + check_pause(); check_oneshot(); @@ -2792,12 +2800,7 @@ static void do_state_checks(void) rarch_check_overlay(); #endif -#ifdef HAVE_NETPLAY - if (g_extern.netplay) - check_netplay_flip(); - else -#endif - check_flip(); + check_flip(); } static void init_state(void)