filesystem: SDL_GetPrefPath() now follows the SDL_GetStringRule.

Reference Issue #10229.
This commit is contained in:
Ryan C. Gordon 2024-07-15 20:21:22 -04:00
parent 2321726ff1
commit 52bf7ff42d
20 changed files with 35 additions and 26 deletions

View file

@ -137,7 +137,7 @@ extern "C" char *SDL_SYS_GetBasePath(void)
return destPath;
}
extern "C" char *SDL_GetPrefPath(const char *org, const char *app)
extern "C" char *SDL_SYS_GetPrefPath(const char *org, const char *app)
{
/* WinRT note: The 'SHGetFolderPath' API that is used in Windows 7 and
* earlier is not available on WinRT or Windows Phone. WinRT provides