aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/3ds/osystem.cpp2
-rwxr-xr-xconfigure6
2 files changed, 7 insertions, 1 deletions
diff --git a/backends/platform/3ds/osystem.cpp b/backends/platform/3ds/osystem.cpp
index 8f896ad7fb..041685d31f 100644
--- a/backends/platform/3ds/osystem.cpp
+++ b/backends/platform/3ds/osystem.cpp
@@ -130,7 +130,7 @@ Common::String OSystem_3DS::getDefaultConfigFileName() {
}
void OSystem_3DS::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) {
- s.add("RomFS", new Common::FSDirectory("romfs:/"), priority);
+ s.add("RomFS", new Common::FSDirectory(DATA_PATH"/"), priority);
}
uint32 OSystem_3DS::getMillis(bool skipRecord) {
diff --git a/configure b/configure
index a1cdf8aa1d..98958fc064 100755
--- a/configure
+++ b/configure
@@ -1532,6 +1532,12 @@ case $_host in
_host_os=3ds
_host_cpu=arm
_host_alias=arm-none-eabi
+
+ test "x$prefix" = xNONE && prefix=romfs:
+
+ datarootdir='${prefix}'
+ datadir='${datarootdir}'
+ docdir='${prefix}/doc'
;;
android | android-arm | android-v7a | android-arm-v7a | ouya)
_host_os=android