From 2e6c29140083dcb6e89b82adaf9e267659c4ab58 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 18 Oct 2020 13:19:07 +0100 Subject: [PATCH] 3DS: Move save data to different directory There seems to be an unofficial standard between 3DS homebrew devs, where data goes in `3ds/data`. --- src/Backends/Platform/3DS.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Backends/Platform/3DS.cpp b/src/Backends/Platform/3DS.cpp index acc12e59..06cce063 100644 --- a/src/Backends/Platform/3DS.cpp +++ b/src/Backends/Platform/3DS.cpp @@ -48,10 +48,11 @@ bool Backend_GetPaths(std::string *module_path, std::string *data_path) { // Create the CSE2 folder if it doesn't already exist mkdir("sdmc:/3ds", 0777); - mkdir("sdmc:/3ds/cse2", 0777); + mkdir("sdmc:/3ds/data", 0777); + mkdir("sdmc:/3ds/data/cse2", 0777); // Configuration files and save data goes on the read-write SD card - *module_path = "sdmc:/3ds/cse2"; + *module_path = "sdmc:/3ds/data/cse2"; // Data goes in the read-only ROMFS *data_path = "romfs:";