mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Don't process menu events while input is being flushed (#15742)
This commit is contained in:
parent
9a57ec29d5
commit
05ce35b103
@ -5239,8 +5239,9 @@ unsigned menu_event(
|
||||
|
||||
ok_old = ok_current;
|
||||
|
||||
/* Menu must be alive */
|
||||
if (!(menu_st->flags & MENU_ST_FLAG_ALIVE))
|
||||
/* Menu must be alive, and input must be released after menu toggle. */
|
||||
if ( !(menu_st->flags & MENU_ST_FLAG_ALIVE)
|
||||
|| menu_st->input_driver_flushing_input > 0)
|
||||
return ret;
|
||||
|
||||
/* Get pointer (mouse + touchscreen) input
|
||||
|
Loading…
x
Reference in New Issue
Block a user