blob: 2c5a0eeff66496670b819b6de767150c9ac0a799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp
index dc9e3c23..9a3c7187 100644
--- a/soh/soh/OTRGlobals.cpp
+++ b/soh/soh/OTRGlobals.cpp
@@ -82,15 +82,15 @@ ItemTableManager* ItemTableManager::Instance;
OTRGlobals::OTRGlobals() {
std::vector<std::string> OTRFiles;
- std::string mqPath = Ship::Window::GetPathRelativeToAppDirectory("oot-mq.otr");
+ std::string mqPath = Ship::Window::GetPathRelativeToAppBaseDirectory("oot-mq.otr");
if (std::filesystem::exists(mqPath)) {
OTRFiles.push_back(mqPath);
}
- std::string ootPath = Ship::Window::GetPathRelativeToAppDirectory("oot.otr");
+ std::string ootPath = Ship::Window::GetPathRelativeToAppBaseDirectory("oot.otr");
if (std::filesystem::exists(ootPath)) {
OTRFiles.push_back(ootPath);
}
- std::string patchesPath = Ship::Window::GetPathRelativeToAppDirectory("mods");
+ std::string patchesPath = Ship::Window::GetPathRelativeToAppBaseDirectory("mods");
if (patchesPath.length() > 0 && std::filesystem::exists(patchesPath)) {
if (std::filesystem::is_directory(patchesPath)) {
for (const auto& p : std::filesystem::recursive_directory_iterator(patchesPath)) {
|