Fixed joystick GUID renaming for other platforms

This commit is contained in:
Sam Lantinga 2012-12-11 12:16:28 -08:00
parent af4d258edb
commit 5f53c47559
6 changed files with 24 additions and 24 deletions

View file

@ -584,9 +584,9 @@ SDL_SYS_JoystickQuit(void)
return;
}
JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index )
SDL_JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index )
{
JoystickGUID guid;
SDL_JoystickGUID guid;
// the GUID is just the first 16 chars of the name for now
const char *name = SDL_SYS_JoystickNameForDeviceIndex( device_index );
SDL_zero( guid );
@ -594,9 +594,9 @@ JoystickGUID SDL_SYS_JoystickGetDeviceGUID( int device_index )
return guid;
}
JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
{
JoystickGUID guid;
SDL_JoystickGUID guid;
// the GUID is just the first 16 chars of the name for now
const char *name = joystick->name;
SDL_zero( guid );