Fixed build on Apple TV
authorSam Lantinga <slouken@libsdl.org>
Thu, 02 Feb 2017 16:56:02 -0800
changeset 108738754e496e7b2
parent 10872 414ace708a6a
child 10874 694f263fed30
Fixed build on Apple TV
src/joystick/iphoneos/SDL_sysjoystick.m
     1.1 --- a/src/joystick/iphoneos/SDL_sysjoystick.m	Thu Feb 02 17:33:40 2017 -0800
     1.2 +++ b/src/joystick/iphoneos/SDL_sysjoystick.m	Thu Feb 02 16:56:02 2017 -0800
     1.3 @@ -553,7 +553,7 @@
     1.4              };
     1.5  
     1.6              for (i = 0; i < SDL_arraysize(axes); i++) {
     1.7 -                updateplayerindex |= (joystick->axes[i] != axes[i]);
     1.8 +                updateplayerindex |= (joystick->axes[i].value != axes[i]);
     1.9                  SDL_PrivateJoystickAxis(joystick, i, axes[i]);
    1.10              }
    1.11