aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-11 01:46:49 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-06 22:20:57 -0300
commitf75174d195c84d08461872213f2d7e7c18c5942f (patch)
treebab2b4ddb46053c6e732829993c9f3217a0bda24 /src/common/file_util.cpp
parent0d6369989dbff04422c58fd255ef9c00b2f22cff (diff)
file_util: Add shader directory
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 b52492da69..aecb66c32d 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -710,6 +710,7 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) {
paths.emplace(UserPath::NANDDir, user_path + NAND_DIR DIR_SEP);
paths.emplace(UserPath::LoadDir, user_path + LOAD_DIR DIR_SEP);
paths.emplace(UserPath::DumpDir, user_path + DUMP_DIR DIR_SEP);
+ paths.emplace(UserPath::ShaderDir, user_path + SHADER_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