From c2c5d0b392035059fb967d7e7e66dc15a19f52a5 Mon Sep 17 00:00:00 2001 From: Jimb Esser Date: Mon, 16 Mar 2020 16:52:49 -0700 Subject: [PATCH] Fix compile error --- src/joystick/hidapi/SDL_hidapi_steam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/joystick/hidapi/SDL_hidapi_steam.c b/src/joystick/hidapi/SDL_hidapi_steam.c index e0e1dce86..e81ca1f66 100644 --- a/src/joystick/hidapi/SDL_hidapi_steam.c +++ b/src/joystick/hidapi/SDL_hidapi_steam.c @@ -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; } }