N3DS: Prepend PrefPath with sdmc:.

This commit is contained in:
Pierre Wendling 2022-11-14 16:56:51 -05:00 committed by Sam Lantinga
parent 7d536d5240
commit de5fa89b50

View file

@ -68,7 +68,7 @@ SDL_FORCE_INLINE char *
MakePrefPath(const char *app)
{
char *pref_path;
if (SDL_asprintf(&pref_path, "/3ds/%s/", app) < 0) {
if (SDL_asprintf(&pref_path, "sdmc:/3ds/%s/", app) < 0) {
SDL_OutOfMemory();
return NULL;
}