Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed build on Apple TV
  • Loading branch information
slouken committed Feb 3, 2017
1 parent 710ae62 commit 8f78f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/iphoneos/SDL_sysjoystick.m
Expand Up @@ -553,7 +553,7 @@ SDL_JoystickID SDL_SYS_GetInstanceIdOfDeviceIndex(int device_index)
};

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]);
}

Expand Down

0 comments on commit 8f78f5b

Please sign in to comment.