From 565d2351d12012f55ab538cc2f5b019f45a2fdb3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 22 Aug 2019 02:50:17 +0200 Subject: [PATCH] Fixes hotkeys not properly working when gamepads are mapped to a different logical port from their physical one --- retroarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index cb6fb14790..8ef5192aa1 100644 --- a/retroarch.c +++ b/retroarch.c @@ -12907,7 +12907,7 @@ static void input_menu_keys_pressed(input_bits_t *p_new_state, joypad_info.axis_threshold = input_driver_axis_threshold; if (current_input->input_state(current_input_data, joypad_info, - &binds[0], joypad_info.joy_idx, RETRO_DEVICE_JOYPAD, 0, i)) + &binds[0], port, RETRO_DEVICE_JOYPAD, 0, i)) { bit_pressed = true; break;