mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 22:35:59 +00:00
SDL_GUIDToString() follows the SDL_GetStringRule
Also removed the distinction between SDL_GUID and SDL_JoystickGUID
This commit is contained in:
@@ -534,11 +534,11 @@ static void VIRTUAL_JoystickSetDevicePlayerIndex(int device_index, int player_in
|
||||
}
|
||||
}
|
||||
|
||||
static SDL_JoystickGUID VIRTUAL_JoystickGetDeviceGUID(int device_index)
|
||||
static SDL_GUID VIRTUAL_JoystickGetDeviceGUID(int device_index)
|
||||
{
|
||||
joystick_hwdata *hwdata = VIRTUAL_HWDataForIndex(device_index);
|
||||
if (!hwdata) {
|
||||
SDL_JoystickGUID guid;
|
||||
SDL_GUID guid;
|
||||
SDL_zero(guid);
|
||||
return guid;
|
||||
}
|
||||
|
@@ -50,7 +50,7 @@ typedef struct joystick_hwdata
|
||||
SDL_bool attached;
|
||||
char *name;
|
||||
SDL_JoystickType type;
|
||||
SDL_JoystickGUID guid;
|
||||
SDL_GUID guid;
|
||||
SDL_VirtualJoystickDesc desc;
|
||||
Uint32 changes;
|
||||
Sint16 *axes;
|
||||
|
Reference in New Issue
Block a user