aboutsummaryrefslogtreecommitdiff
path: root/games/freesynd/files/patch-utils_src_file.cpp
blob: 6e95bd66ef0bb49f4303fd0261cf00d80b80dd97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- utils/src/file.cpp.orig	2024-05-15 21:07:46 UTC
+++ utils/src/file.cpp
@@ -356,8 +356,8 @@ void File::setOriginalDataFolder(const std::string& pa
 #if defined(__APPLE__)
     // Under Mac, it can't be in the bundle as user should not access it
 #else
-    // Under Windows/unix it's in the same directory as our data
-    dataPath_ = ourDataPath_;
+    // Under Windows/unix it's in the data subdirectory of our data
+    dataPath_ = ourDataPath_ / "data";
 #endif
     }
     LOG(Log::k_FLG_IO, "File", "setOriginalDataPath", ("set data path to %s", dataPath_.string().c_str()));