shithub: cstory

Download patch

ref: 2e6c29140083dcb6e89b82adaf9e267659c4ab58
parent: 48926f32c2822fc9f2ca334e7552c076ccb56d89
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Oct 18 09:19:07 EDT 2020

3DS: Move save data to different directory

There seems to be an unofficial standard between 3DS homebrew devs,
where data goes in `3ds/data`.

--- a/src/Backends/Platform/3DS.cpp
+++ b/src/Backends/Platform/3DS.cpp
@@ -48,10 +48,11 @@
 {
 	// 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:";