diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-06 02:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 02:41:20 +0200 |
commit | deecd7f074a0547b8fc08a33fdc547eb63859e3e (patch) | |
tree | d70efa81b1824d2dc351b7355d5016e75027ed8f /src/common/file_util.cpp | |
parent | Merge pull request #2943 from DarkLordZach/azure-titlebars-v2 (diff) | |
parent | audio/audout_u: Change formatting for old clang-format versions (diff) | |
download | yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.gz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.bz2 yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.lz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.xz yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.zst yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/file_util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 2d9374783..41167f57a 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -713,7 +713,6 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { case UserPath::RootDir: user_path = paths[UserPath::RootDir] + DIR_SEP; break; - case UserPath::UserDir: user_path = paths[UserPath::RootDir] + DIR_SEP; paths[UserPath::ConfigDir] = user_path + CONFIG_DIR DIR_SEP; @@ -721,6 +720,8 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { paths[UserPath::SDMCDir] = user_path + SDMC_DIR DIR_SEP; paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP; break; + default: + break; } } |