1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 08:48:42 +00:00

Don't take rewind steps while menu pause active (#15009)

This commit is contained in:
sonninnos 2023-02-22 20:02:36 +02:00 committed by GitHub
parent d55d1a8863
commit dfef7a5ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5913,7 +5913,12 @@ static enum runloop_state_enum runloop_check_state(
&runloop_st->current_core,
rewind_pressed,
settings->uints.rewind_granularity,
runloop_paused,
runloop_paused
#ifdef HAVE_MENU
|| ( (menu_st->flags & MENU_ST_FLAG_ALIVE)
&& settings->bools.menu_pause_libretro)
#endif
,
s, sizeof(s), &t);
old_rewind_pressed = rewind_pressed;