diff options
Diffstat (limited to 'src/common/file_util.cpp')
| -rw-r--r-- | src/common/file_util.cpp | 2 |
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 | |||
| 691 | paths[D_USER_IDX] = GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP; | 691 | paths[D_USER_IDX] = GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP; |
| 692 | if (!FileUtil::IsDirectory(paths[D_USER_IDX])) { | 692 | if (!FileUtil::IsDirectory(paths[D_USER_IDX])) { |
| 693 | paths[D_USER_IDX] = AppDataRoamingDirectory() + DIR_SEP EMU_DATA_DIR DIR_SEP; | 693 | paths[D_USER_IDX] = AppDataRoamingDirectory() + DIR_SEP EMU_DATA_DIR DIR_SEP; |
| 694 | } else { | ||
| 695 | LOG_INFO(Common_Filesystem, "Using the local user directory"); | ||
| 694 | } | 696 | } |
| 695 | 697 | ||
| 696 | paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP; | 698 | paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP; |