Fixed accidental call to SDL_PrivateJoystickHat()

This commit is contained in:
Sam Lantinga 2016-09-13 18:43:55 -07:00
parent f050576665
commit 925859aaa6
1 changed files with 0 additions and 1 deletions

View File

@ -513,7 +513,6 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
};
hatstate = SDL_SYS_MFIJoystickHatStateForDPad(gamepad.dpad);
SDL_PrivateJoystickHat(joystick, 0, hatstate);
for (i = 0; i < SDL_arraysize(buttons); i++) {
updateplayerindex |= (joystick->buttons[i] != buttons[i]);