mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13: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++;
|
binds.target++;
|
||||||
else
|
else
|
||||||
rgui_list_pop(rgui->menu_stack, &rgui->selection_ptr);
|
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;
|
rgui->binds = binds;
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user