mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-12-26 20:54:57 +00:00
Fixed windows build
This commit is contained in:
parent
d004cc7050
commit
d000a592ab
@ -344,8 +344,6 @@ SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickde
|
||||
SDL_assert(XINPUTSETSTATE);
|
||||
SDL_assert(userId < XUSER_MAX_COUNT);
|
||||
|
||||
joystick->player_index = userId;
|
||||
|
||||
joystick->hwdata->bXInputDevice = SDL_TRUE;
|
||||
|
||||
if (XINPUTGETCAPABILITIES(userId, XINPUT_FLAG_GAMEPAD, &capabilities) != ERROR_SUCCESS) {
|
||||
|
Loading…
Reference in New Issue
Block a user