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
commit84412591c97e88b927c44b2517d70381608f1a24 (patch)
treebab2b4ddb46053c6e732829993c9f3217a0bda24 /src/common/file_util.cpp
parent049050856f30ba68e86197ac5cac622c3770e44b (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