Browse Source

N3DS: Prepend PrefPath with `sdmc:`.

Pierre Wendling 2 years ago
parent
commit
de5fa89b50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/filesystem/n3ds/SDL_sysfilesystem.c

+ 1 - 1
src/filesystem/n3ds/SDL_sysfilesystem.c

@@ -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;
     }