summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-06 21:47:20 -0500
committerGitHub <noreply@github.com>2019-02-06 21:47:20 -0500
commite09f1c92fb6f0b061f875617196f2463b1937546 (patch)
treedddd4ab0851516f67c11d1121e8f233c9f0bafd3 /src/common/file_util.cpp
parent10ab714fe015b28215ce61e6b4f9085c954a409d (diff)
parentdfd14618f7cde84caf15f3b56ee14800f2509ebc (diff)
Merge pull request #2021 from ReinUsesLisp/disk-cache
gl_shader_cache: Disk based shader cache
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 b52492da6..aecb66c32 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