mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 08:56:25 +00:00
Windows GDK Support (#5830)
* Added GDK * Simplfied checks in SDL_config_wingdk.h * Added testgdk sample * Added GDK readme * Fixed error in merge of SDL_windows.h * Additional GDK fixes * OpenWatcom should not export _SDL_GDKGetTaskQueue * Formatting fixes * Moved initialization code into SDL_GDKRunApp
This commit is contained in:
@@ -1019,7 +1019,7 @@ static char *SDL_PrivateGetControllerGUIDFromMappingString(const char *pMapping)
|
||||
pchGUID[pFirstComma - pMapping] = '\0';
|
||||
|
||||
/* Convert old style GUIDs to the new style in 2.0.5 */
|
||||
#if __WIN32__
|
||||
#if defined(__WIN32__) || defined(__WINGDK__)
|
||||
if (SDL_strlen(pchGUID) == 32 &&
|
||||
SDL_memcmp(&pchGUID[20], "504944564944", 12) == 0) {
|
||||
SDL_memcpy(&pchGUID[20], "000000000000", 12);
|
||||
|
Reference in New Issue
Block a user