aboutsummaryrefslogtreecommitdiff
path: root/src/ini.c
diff options
context:
space:
mode:
authorgameblabla2017-12-26 20:53:38 -0500
committergameblabla2017-12-26 20:53:38 -0500
commitcb8a6ed34f2689f0dc862e3a9fa780074bd7cb20 (patch)
tree1803c1f8eb5e69b7d4231de57c94c1f3c2fc2464 /src/ini.c
parentd1a7f112382fcc4a58de8617271298d8b9ec1fdc (diff)
downloadhydracastlelabyrinth-cb8a6ed34f2689f0dc862e3a9fa780074bd7cb20.tar.gz
hydracastlelabyrinth-cb8a6ed34f2689f0dc862e3a9fa780074bd7cb20.tar.bz2
hydracastlelabyrinth-cb8a6ed34f2689f0dc862e3a9fa780074bd7cb20.zip
GCW0 & DC commits
Diffstat (limited to 'src/ini.c')
-rw-r--r--src/ini.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ini.c b/src/ini.c
index d2d3f57..47118a2 100644
--- a/src/ini.c
+++ b/src/ini.c
@@ -30,6 +30,9 @@ void iniInit()
strcat(fullPath, "sdmc:/3ds/appdata/HydraCastleLabyrinth/");
#endif
strcat(fullPath, "system.ini");
+ #ifdef DREAMCAST
+ strcat(fullPath, "/ram/system.ini");
+ #endif
}
FILE* f;
@@ -61,6 +64,9 @@ void saveSettings()
strcat(fullPath, "sdmc:/3ds/appdata/HydraCastleLabyrinth/");
#endif
strcat(fullPath, "system.ini");
+ #ifdef DREAMCAST
+ strcat(fullPath, "/ram/system.ini");
+ #endif
}
FILE* f;
@@ -146,6 +152,9 @@ void loadSettings()
strcat(fullPath, "sdmc:/3ds/appdata/HydraCastleLabyrinth/");
#endif
strcat(fullPath, "system.ini");
+ #ifdef DREAMCAST
+ strcat(fullPath, "/ram/system.ini");
+ #endif
}
FILE* f;