commit dddcbb9c
It turns out that the search order has always been exactly the opposite of that it should be
Changed files
| M | source/code/main.cpp before |
diff --git a/source/code/main.cpp b/source/code/main.cpp
index 17c14aa..157b179 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -98,9 +98,9 @@ static void FsSearchParthMainAppend(std::vector<std::string>& paths) {
static void PhysFsSetSearchPath(const vector<string>& paths, const string& savepath) {
for (const string& path : paths) {
- PHYSFS_mount(path.c_str(), "/", 1);
+ PHYSFS_mount(path.c_str(), "/", 0);
}
- PHYSFS_mount(savepath.c_str(), "/", 1);
+ PHYSFS_mount(savepath.c_str(), "/", 0);
PHYSFS_setWriteDir(savepath.c_str());
}