hedgewars/SDLh.pas
branch0.9.24
changeset 13552 214dde864805
parent 13550 8b89bdb3c3dd
child 13573 470982c05f7e
--- a/hedgewars/SDLh.pas	Tue Jul 24 18:37:52 2018 +0200
+++ b/hedgewars/SDLh.pas	Mon Jul 16 20:28:01 2018 +0200
@@ -1167,7 +1167,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;