diff options
author | Bastien Bouclet | 2019-11-03 19:14:15 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-11-03 19:14:15 +0100 |
commit | 2d11974c28b50c5c0a65be71caa4c93be24ab468 (patch) | |
tree | 689a0a14ee454adba009e5c03603d1d24d4e173e | |
parent | 6fa7322a6a21e8f5ce5bd976da098761eca1f831 (diff) | |
download | scummvm-rg350-2d11974c28b50c5c0a65be71caa4c93be24ab468.tar.gz scummvm-rg350-2d11974c28b50c5c0a65be71caa4c93be24ab468.tar.bz2 scummvm-rg350-2d11974c28b50c5c0a65be71caa4c93be24ab468.zip |
3DS: Use DATA_PATH to configure support files location
-rw-r--r-- | backends/platform/3ds/osystem.cpp | 2 | ||||
-rwxr-xr-x | configure | 6 |
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) { @@ -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 |