Commit de5fa89b509a155d962b01de5b36955b5ba0df09

Pierre Wendling 2022-11-14T16:56:51

N3DS: Prepend PrefPath with `sdmc:`.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/filesystem/n3ds/SDL_sysfilesystem.c b/src/filesystem/n3ds/SDL_sysfilesystem.c
index 06b4cd6..9d0621b 100644
--- a/src/filesystem/n3ds/SDL_sysfilesystem.c
+++ b/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;
     }