summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 00:31:03 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 01:28:34 +0200
commitf4417eab8f5742cc258684ccd3230e3be9f47eda (patch)
treecfe11ad733c46c7cf3be876fd6d766dc7e30a069 /src
parentMerge pull request #2941 from FernandoS27/fix-master (diff)
downloadyuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar.gz
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar.bz2
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar.lz
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar.xz
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.tar.zst
yuzu-f4417eab8f5742cc258684ccd3230e3be9f47eda.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/file_util.cpp3
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;
}
}