Fixed the documentation for SDL_GetGamepadMappings()

This commit is contained in:
Sam Lantinga
2024-03-01 01:55:43 -08:00
parent 7ff9be7398
commit af58ed978e

View File

@@ -319,7 +319,7 @@ extern DECLSPEC int SDLCALL SDL_AddGamepadMappingsFromFile(const char *file);
extern DECLSPEC int SDLCALL SDL_ReloadGamepadMappings(void); extern DECLSPEC int SDLCALL SDL_ReloadGamepadMappings(void);
/** /**
* Get the mapping at a particular index. * Get the current gamepad mappings.
* *
* You must free the returned pointer with SDL_free() when you are done with * You must free the returned pointer with SDL_free() when you are done with
* it, but you do _not_ free each string in the array. * it, but you do _not_ free each string in the array.