mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Ignore menu event action in the end of function instead (#15811)
This commit is contained in:
parent
e3becab18e
commit
f69a29209f
@ -5239,11 +5239,6 @@ unsigned menu_event(
|
|||||||
|
|
||||||
ok_old = ok_current;
|
ok_old = ok_current;
|
||||||
|
|
||||||
/* 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
|
/* Get pointer (mouse + touchscreen) input
|
||||||
* Note: Must be done regardless of menu screensaver
|
* Note: Must be done regardless of menu screensaver
|
||||||
* state */
|
* state */
|
||||||
@ -5633,6 +5628,11 @@ unsigned menu_event(
|
|||||||
menu_st->input_last_time_us = menu_st->current_time_us;
|
menu_st->input_last_time_us = menu_st->current_time_us;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 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 MENU_ACTION_NOOP;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user