mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
Another bug.
This commit is contained in:
parent
a887fad904
commit
d895afd90c
2
gl.c
2
gl.c
@ -98,7 +98,7 @@ static int16_t glfw_input_state(void *data, const struct snes_keybind **binds, b
|
||||
bool pressed = false;
|
||||
if ( glfwGetKey(snes_keybinds[i].key) )
|
||||
pressed = true;
|
||||
else if ( (joypad_count > id) && (snes_keybinds[i].joykey < joypad_buttons[port_num]) && (buttons[snes_keybinds[i].joykey] == GLFW_PRESS) )
|
||||
else if ( (joypad_count > port_num) && (snes_keybinds[i].joykey < joypad_buttons[port_num]) && (buttons[snes_keybinds[i].joykey] == GLFW_PRESS) )
|
||||
pressed = true;
|
||||
set_fast_forward_button(pressed);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user