From ddac8440348d10f6b148a3e7244e195d26123ec2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 9 Dec 2023 21:44:12 -0800 Subject: [PATCH] Fixed build --- src/joystick/linux/SDL_sysjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c index d05a9212a..0ab56ce95 100644 --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -1114,7 +1114,7 @@ static const char *LINUX_JoystickGetDevicePath(int device_index) static int LINUX_JoystickGetDevicePlayerIndex(int device_index) { - return GetJoystickByDevIndex(device_index)->steam_virtual_gamepad_slot; + return JoystickByDevIndex(device_index)->steam_virtual_gamepad_slot; } static void LINUX_JoystickSetDevicePlayerIndex(int device_index, int player_index)