mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-12 05:41:10 +01:00
Fixed build on Apple TV
This commit is contained in:
parent
710ae62a79
commit
8f78f5bb94
@ -553,7 +553,7 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < SDL_arraysize(axes); i++) {
|
for (i = 0; i < SDL_arraysize(axes); i++) {
|
||||||
updateplayerindex |= (joystick->axes[i] != axes[i]);
|
updateplayerindex |= (joystick->axes[i].value != axes[i]);
|
||||||
SDL_PrivateJoystickAxis(joystick, i, axes[i]);
|
SDL_PrivateJoystickAxis(joystick, i, axes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user