aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-29 18:42:04 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-01 00:16:54 -0400
commit150527ec194107f0ba5ea9bdef487782e64090ef (patch)
treebf6a2589e1a05eb4546ef74715050d8f986c8e78 /src/common/file_util.cpp
parentcc8234fa89f1a7dcc2709e6d3be03f8458c841d4 (diff)
Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index ed38c3ced2..7aeda737f4 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -706,6 +706,7 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) {
paths.emplace(UserPath::SDMCDir, user_path + SDMC_DIR DIR_SEP);
paths.emplace(UserPath::NANDDir, user_path + NAND_DIR DIR_SEP);
paths.emplace(UserPath::SysDataDir, user_path + SYSDATA_DIR DIR_SEP);
+ paths.emplace(UserPath::KeysDir, user_path + KEYS_DIR DIR_SEP);
// TODO: Put the logs in a better location for each OS
paths.emplace(UserPath::LogDir, user_path + LOG_DIR DIR_SEP);
}