mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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
|
#endif
|
||||||
check_pause_func(trigger_input);
|
check_pause_func(trigger_input);
|
||||||
|
|
||||||
if (check_fullscreen_func(trigger_input) && g_extern.is_paused)
|
if (g_extern.is_paused)
|
||||||
rarch_render_cached_frame();
|
{
|
||||||
|
if (check_fullscreen_func(trigger_input))
|
||||||
if (g_extern.is_paused && !check_oneshot_func(trigger_input))
|
rarch_render_cached_frame();
|
||||||
return 1;
|
if (!check_oneshot_func(trigger_input))
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
check_fast_forward_button_func(input, old_input, trigger_input);
|
check_fast_forward_button_func(input, old_input, trigger_input);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user