mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
do_state_checks - simplify
This commit is contained in:
parent
52f38412d0
commit
625d99d68d
12
runloop.c
12
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user