From 61115aebd341a9bbaf2141d9957e857d889768c9 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Mon, 6 Jun 2022 19:29:56 +0300 Subject: [PATCH] update dynapi after the loongarch support patch --- src/dynapi/SDL2.exports | 2 ++ src/dynapi/SDL_dynapi_overrides.h | 2 ++ src/dynapi/SDL_dynapi_procs.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/dynapi/SDL2.exports b/src/dynapi/SDL2.exports index 8cd2a4bf8..481e1db0b 100644 --- a/src/dynapi/SDL2.exports +++ b/src/dynapi/SDL2.exports @@ -845,3 +845,5 @@ ++'_SDL_JoystickGetFirmwareVersion'.'SDL2.dll'.'SDL_JoystickGetFirmwareVersion' ++'_SDL_GUIDToString'.'SDL2.dll'.'SDL_GUIDToString' ++'_SDL_GUIDFromString'.'SDL2.dll'.'SDL_GUIDFromString' +++'_SDL_HasLSX'.'SDL2.dll'.'SDL_HasLSX' +++'_SDL_HasLASX'.'SDL2.dll'.'SDL_HasLASX' diff --git a/src/dynapi/SDL_dynapi_overrides.h b/src/dynapi/SDL_dynapi_overrides.h index 85ee397d0..97f3b8007 100644 --- a/src/dynapi/SDL_dynapi_overrides.h +++ b/src/dynapi/SDL_dynapi_overrides.h @@ -871,3 +871,5 @@ #define SDL_JoystickGetFirmwareVersion SDL_JoystickGetFirmwareVersion_REAL #define SDL_GUIDToString SDL_GUIDToString_REAL #define SDL_GUIDFromString SDL_GUIDFromString_REAL +#define SDL_HasLSX SDL_HasLSX_REAL +#define SDL_HasLASX SDL_HasLASX_REAL diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h index db3f86470..a61333a39 100644 --- a/src/dynapi/SDL_dynapi_procs.h +++ b/src/dynapi/SDL_dynapi_procs.h @@ -946,3 +946,5 @@ SDL_DYNAPI_PROC(Uint16,SDL_GameControllerGetFirmwareVersion,(SDL_GameController SDL_DYNAPI_PROC(Uint16,SDL_JoystickGetFirmwareVersion,(SDL_Joystick *a),(a),return) SDL_DYNAPI_PROC(void,SDL_GUIDToString,(SDL_GUID a, char *b, int c),(a,b,c),) SDL_DYNAPI_PROC(SDL_GUID,SDL_GUIDFromString,(const char *a),(a),return) +SDL_DYNAPI_PROC(SDL_bool,SDL_HasLSX,(void),(),return) +SDL_DYNAPI_PROC(SDL_bool,SDL_HasLASX,(void),(),return)