mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
Avoid new keybinds triggering stuff right away.
Most relevant things here are RGUI toggle, back, start, etc.
This commit is contained in:
parent
8cb77fa915
commit
d25313d0c1
@ -1588,6 +1588,10 @@ static int rgui_custom_bind_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||
binds.target++;
|
||||
else
|
||||
rgui_list_pop(rgui->menu_stack, &rgui->selection_ptr);
|
||||
|
||||
// Avoid new binds triggering things right away.
|
||||
rgui->trigger_state = 0;
|
||||
rgui->old_input_state = -1ULL;
|
||||
}
|
||||
rgui->binds = binds;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user