hedgewars/SDLh.pas
changeset 13495 4faebbf9c44f
parent 12851 e5c461729fe3
child 13511 36f3f77e9b1b
--- a/hedgewars/SDLh.pas	Mon Jul 16 19:15:22 2018 +0200
+++ b/hedgewars/SDLh.pas	Mon Jul 16 20:28:01 2018 +0200
@@ -1165,7 +1165,7 @@
 procedure SDL_UnlockAudio; cdecl; external SDLLibName;
 
 function  SDL_NumJoysticks: LongInt; cdecl; external SDLLibName;
-function  SDL_JoystickName(idx: LongInt): PChar; cdecl; external SDLLibName;
+function  SDL_JoystickNameForIndex(idx: LongInt): PChar; cdecl; external SDLLibName;
 function  SDL_JoystickOpen(idx: LongInt): PSDL_Joystick; cdecl; external SDLLibName;
 function  SDL_JoystickOpened(idx: LongInt): LongInt; cdecl; external SDLLibName;
 function  SDL_JoystickIndex(joy: PSDL_Joystick): LongInt; cdecl; external SDLLibName;