summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-03-11 17:31:17 +0100
committerwwylele <wwylele@gmail.com>2017-03-11 17:31:17 +0100
commitd040a73bed93fc89520dd390dc8ed9874675bc14 (patch)
tree0a2f9444c780b99fd71690fc90e864966682d4e0 /src/common/file_util.cpp
parentfile_sys: lower log level for setting host path (diff)
downloadyuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar.gz
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar.bz2
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar.lz
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar.xz
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.tar.zst
yuzu-d040a73bed93fc89520dd390dc8ed9874675bc14.zip
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index d3cc371de..5ab036b34 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -691,6 +691,8 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string& new
paths[D_USER_IDX] = GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP;
if (!FileUtil::IsDirectory(paths[D_USER_IDX])) {
paths[D_USER_IDX] = AppDataRoamingDirectory() + DIR_SEP EMU_DATA_DIR DIR_SEP;
+ } else {
+ LOG_INFO(Common_Filesystem, "Using the local user directory");
}
paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP;