diff --git a/src/joystick/dummy/SDL_sysjoystick.c b/src/joystick/dummy/SDL_sysjoystick.c index 1a1b7254f..690a98539 100644 --- a/src/joystick/dummy/SDL_sysjoystick.c +++ b/src/joystick/dummy/SDL_sysjoystick.c @@ -39,7 +39,7 @@ SDL_SYS_JoystickInit(void) /* Function to get the device-dependent name of a joystick */ const char * -SDL_SYS_JoystickNameForDevice(int index) +SDL_SYS_JoystickNameForIndex(int index) { SDL_SetError("Logic error: No joysticks available"); return (NULL);