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
1 changed files with 1 additions and 1 deletions

View File

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