mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 09:55:35 +00:00
Fix compile error
This commit is contained in:
parent
197b14de4a
commit
c2c5d0b392
|
@ -972,7 +972,7 @@ HIDAPI_DriverSteam_GetDeviceName(Uint16 vendor_id, Uint16 product_id)
|
|||
static SDL_bool
|
||||
HIDAPI_DriverSteam_InitDevice(SDL_HIDAPI_Device *device)
|
||||
{
|
||||
return HIDAPI_JoystickConnected(device, NULL);
|
||||
return HIDAPI_JoystickConnected(device, NULL, SDL_FALSE);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -1130,7 +1130,7 @@ HIDAPI_DriverSteam_UpdateDevice(SDL_HIDAPI_Device *device)
|
|||
|
||||
if (r <= 0) {
|
||||
/* Failed to read from controller */
|
||||
HIDAPI_JoystickDisconnected(device, device->joysticks[0]);
|
||||
HIDAPI_JoystickDisconnected(device, device->joysticks[0], SDL_FALSE);
|
||||
return SDL_FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue