mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-12 21:06:01 +00:00
Rename SDL_Swap(16|32|64)(LE|BE) to SDL_Swap(LE|BE)(16|32|64)
This commit is contained in:

committed by
Anonymous Maarten

parent
ef6123886e
commit
32907a9606
@@ -343,8 +343,8 @@ int Android_AddJoystick(int device_id, const char *name, const char *desc, int v
|
||||
/* Update the GUID with capability bits */
|
||||
{
|
||||
Uint16 *guid16 = (Uint16 *)guid.data;
|
||||
guid16[6] = SDL_SwapLE16(button_mask);
|
||||
guid16[7] = SDL_SwapLE16(axis_mask);
|
||||
guid16[6] = SDL_Swap16LE(button_mask);
|
||||
guid16[7] = SDL_Swap16LE(axis_mask);
|
||||
}
|
||||
|
||||
item = (SDL_joylist_item *)SDL_malloc(sizeof(SDL_joylist_item));
|
||||
|
Reference in New Issue
Block a user