mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +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;
|
bool pressed = false;
|
||||||
if ( glfwGetKey(snes_keybinds[i].key) )
|
if ( glfwGetKey(snes_keybinds[i].key) )
|
||||||
pressed = true;
|
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;
|
pressed = true;
|
||||||
set_fast_forward_button(pressed);
|
set_fast_forward_button(pressed);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user