mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 17:35:39 +00:00
Fixed compile errors on various platforms
This commit is contained in:
@@ -516,7 +516,7 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
|
||||
* initializes its values to 0. We only want to make sure the
|
||||
* player index is up to date if the user actually moves an axis. */
|
||||
if ((i != 2 && i != 5) || axes[i] != -32768) {
|
||||
updateplayerindex |= (joystick->axes[i] != axes[i]);
|
||||
updateplayerindex |= (joystick->axes[i].value != axes[i]);
|
||||
}
|
||||
SDL_PrivateJoystickAxis(joystick, i, axes[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user