From 0b9595b7e1b84413c33c9120c365a2b4efdf8a03 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 23 Mar 2016 05:49:38 +0100 Subject: [PATCH] Should fix input_keyboard_wait_keys still being active after we bind a button with the gamepad --- menu/menu_input.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/menu/menu_input.c b/menu/menu_input.c index 66de0cbc0a..17fb9969fe 100644 --- a/menu/menu_input.c +++ b/menu/menu_input.c @@ -621,7 +621,10 @@ static bool menu_input_key_bind_iterate(char *s, size_t len) binds.begin++; if (binds.begin > binds.last) + { + input_keyboard_wait_keys_cancel(); return true; + } binds.target++; binds.timeout_end = retro_get_time_usec() +