mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-30 03:04:28 +00:00
filesystem: SDL_GetUserFolder() now follows the SDL_GetStringRule.
It also now caches at the higher level, so the platform-specific bits don't change their interface much. Reference Issue #10229.
This commit is contained in:
@@ -228,8 +228,9 @@ Sint32 JNI_OnLoad(void *vm, void *reserved)
|
||||
}
|
||||
#endif
|
||||
|
||||
// !!! FIXME: this probably belongs in src/filesystem/gdk
|
||||
#if defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
|
||||
char *SDL_GetUserFolder(SDL_Folder folder)
|
||||
const char *SDL_GetUserFolder(SDL_Folder folder)
|
||||
{
|
||||
(void)folder;
|
||||
SDL_Unsupported();
|
||||
|
||||
Reference in New Issue
Block a user