From 2c5e6fa1daba46852520685eb03a17a2f19ce2bd Mon Sep 17 00:00:00 2001 From: Le Juez Victor <90587919+Bigfoot71@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:30:16 +0200 Subject: [PATCH] Fix `GamepadMappings` returning --- src/rcore_desktop_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore_desktop_sdl.c b/src/rcore_desktop_sdl.c index cddee74481e6..72bef601b6bb 100644 --- a/src/rcore_desktop_sdl.c +++ b/src/rcore_desktop_sdl.c @@ -572,7 +572,7 @@ void OpenURL(const char *url) // Set internal gamepad mappings int SetGamepadMappings(const char *mappings) { - SDL_GameControllerAddMapping(mappings); + return SDL_GameControllerAddMapping(mappings); } // Set mouse position XY