summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2019-10-05 20:41:20 -0400
committerGravatar GitHub2019-10-05 20:41:20 -0400
commitdeecd7f074a0547b8fc08a33fdc547eb63859e3e (patch)
treed70efa81b1824d2dc351b7355d5016e75027ed8f /src/common/file_util.cpp
parentMerge pull request #2943 from DarkLordZach/azure-titlebars-v2 (diff)
parentaudio/audout_u: Change formatting for old clang-format versions (diff)
downloadyuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.gz
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.tar.xz
yuzu-deecd7f074a0547b8fc08a33fdc547eb63859e3e.zip
Merge pull request #2942 from ReinUsesLisp/clang-warnings
Silence miscellaneous warnings
Diffstat (limited to 'src/common/file_util.cpp')
-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) {
713 case UserPath::RootDir: 713 case UserPath::RootDir:
714 user_path = paths[UserPath::RootDir] + DIR_SEP; 714 user_path = paths[UserPath::RootDir] + DIR_SEP;
715 break; 715 break;
716
717 case UserPath::UserDir: 716 case UserPath::UserDir:
718 user_path = paths[UserPath::RootDir] + DIR_SEP; 717 user_path = paths[UserPath::RootDir] + DIR_SEP;
719 paths[UserPath::ConfigDir] = user_path + CONFIG_DIR DIR_SEP; 718 paths[UserPath::ConfigDir] = user_path + CONFIG_DIR DIR_SEP;
@@ -721,6 +720,8 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) {
721 paths[UserPath::SDMCDir] = user_path + SDMC_DIR DIR_SEP; 720 paths[UserPath::SDMCDir] = user_path + SDMC_DIR DIR_SEP;
722 paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP; 721 paths[UserPath::NANDDir] = user_path + NAND_DIR DIR_SEP;
723 break; 722 break;
723 default:
724 break;
724 } 725 }
725 } 726 }
726 727