Fixed build on Apple TV

This commit is contained in:
Sam Lantinga 2017-02-02 16:56:02 -08:00
parent 710ae62a79
commit 8f78f5bb94

View file

@ -553,7 +553,7 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
};
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]);
}