Skip to content
Permalink
Browse files

3DS: Use DATA_PATH to configure support files location

(cherry picked from commit 2d11974)
  • Loading branch information...
bgK committed Nov 3, 2019
1 parent 393ce8d commit 0e64097576a5984ce453f1d20945e1ce654caeab
Showing with 7 additions and 1 deletion.
  1. +1 −1 backends/platform/3ds/osystem.cpp
  2. +6 −0 configure
@@ -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

0 comments on commit 0e64097

Please sign in to comment.
You can’t perform that action at this time.