Fixes hotkeys not properly working when gamepads are mapped to

a different logical port from their physical one
This commit is contained in:
twinaphex 2019-08-22 02:50:17 +02:00
parent 3bf2d9d7fc
commit 565d2351d1

View File

@ -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;