mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
Clean up indentation and one code style issue.
This commit is contained in:
parent
1ce718ed58
commit
8a030675a4
3
gl.c
3
gl.c
@ -130,7 +130,8 @@ static int16_t glfw_input_state(void *data, const struct snes_keybind **binds, b
|
|||||||
unsigned char buttons[BUTTONS_MAX];
|
unsigned char buttons[BUTTONS_MAX];
|
||||||
float axes[AXES_MAX];
|
float axes[AXES_MAX];
|
||||||
|
|
||||||
if ( joypad_count > port_num ) {
|
if ( joypad_count > port_num )
|
||||||
|
{
|
||||||
glfwGetJoystickButtons(joypad_id[port_num], buttons, joypad_buttons[port_num]);
|
glfwGetJoystickButtons(joypad_id[port_num], buttons, joypad_buttons[port_num]);
|
||||||
glfwGetJoystickPos(joypad_id[port_num], axes, joypad_axes[port_num]);
|
glfwGetJoystickPos(joypad_id[port_num], axes, joypad_axes[port_num]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user