summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e871fef7b..4d61ad46f 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -2172,7 +2172,10 @@ int main(int argc, char* argv[]) {
2172 QCoreApplication::setApplicationName(QStringLiteral("yuzu")); 2172 QCoreApplication::setApplicationName(QStringLiteral("yuzu"));
2173 2173
2174#ifdef __APPLE__ 2174#ifdef __APPLE__
2175 std::string bin_path = FileUtil::GetBundleDirectory() + DIR_SEP + ".."; 2175 // If you start a bundle (binary) on OSX without the Terminal, the working directory is "/".
2176 // But since we require the working directory to be the executable path for the location of the
2177 // user folder in the Qt Frontend, we need to cd into that working directory
2178 const std::string bin_path = FileUtil::GetBundleDirectory() + DIR_SEP + "..";
2176 chdir(bin_path.c_str()); 2179 chdir(bin_path.c_str());
2177#endif 2180#endif
2178 2181