From 625d99d68da3d5ec7c41c148c6f3955697838230 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 5 Oct 2014 06:38:12 +0200 Subject: [PATCH] do_state_checks - simplify --- runloop.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/runloop.c b/runloop.c index 92db10f4b7..fb3f8616a2 100644 --- a/runloop.c +++ b/runloop.c @@ -449,11 +449,13 @@ static int do_state_checks( #endif check_pause_func(trigger_input); - if (check_fullscreen_func(trigger_input) && g_extern.is_paused) - rarch_render_cached_frame(); - - if (g_extern.is_paused && !check_oneshot_func(trigger_input)) - return 1; + if (g_extern.is_paused) + { + if (check_fullscreen_func(trigger_input)) + rarch_render_cached_frame(); + if (!check_oneshot_func(trigger_input)) + return 1; + } check_fast_forward_button_func(input, old_input, trigger_input);