mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix keys while in binding mode
This commit is contained in:
parent
abd6dcd57f
commit
136a435c43
@ -823,9 +823,6 @@ uint64_t input_menu_keys_pressed(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu_driver_is_binding_state())
|
|
||||||
*trigger_input = 0;
|
|
||||||
|
|
||||||
*nonblock_state = input_driver_nonblock_state;
|
*nonblock_state = input_driver_nonblock_state;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -2258,6 +2258,11 @@ static enum runloop_state runloop_check_state(
|
|||||||
|
|
||||||
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
||||||
|
|
||||||
|
#ifdef HAVE_MENU
|
||||||
|
if (menu_driver_is_binding_state())
|
||||||
|
current_input = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
/* Check next overlay */
|
/* Check next overlay */
|
||||||
{
|
{
|
||||||
@ -2398,6 +2403,7 @@ static enum runloop_state runloop_check_state(
|
|||||||
if (runloop_idle)
|
if (runloop_idle)
|
||||||
return RUNLOOP_STATE_SLEEP;
|
return RUNLOOP_STATE_SLEEP;
|
||||||
|
|
||||||
|
|
||||||
/* Check game focus toggle */
|
/* Check game focus toggle */
|
||||||
{
|
{
|
||||||
static bool old_pressed = false;
|
static bool old_pressed = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user