VERY experimental Nintendo Switch 2 emulator
C++
[fs] use XDG_CACHE_HOME for shader caches (#4093)
lizzieb05463ee1943
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cppindex e980fd1bbe..3844cca06b 100644--- a/src/common/fs/path_util.cpp+++ b/src/common/fs/path_util.cpp@@ -149,10 +149,9 @@ public:LEGACY_PATH(Suyu, SUYU)#undef LEGACY_PATH#endif+ // dataGenerateEdenPath(EdenPath::EdenDir, eden_path);GenerateEdenPath(EdenPath::AmiiboDir, eden_path / AMIIBO_DIR);- GenerateEdenPath(EdenPath::CacheDir, eden_path_cache);- GenerateEdenPath(EdenPath::ConfigDir, eden_path_config);GenerateEdenPath(EdenPath::CrashDumpsDir, eden_path / CRASH_DUMPS_DIR);GenerateEdenPath(EdenPath::DumpDir, eden_path / DUMP_DIR);GenerateEdenPath(EdenPath::KeysDir, eden_path / KEYS_DIR);@@ -163,10 +162,13 @@ public:GenerateEdenPath(EdenPath::SaveDir, eden_path / NAND_DIR);GenerateEdenPath(EdenPath::ScreenshotsDir, eden_path / SCREENSHOTS_DIR);GenerateEdenPath(EdenPath::SDMCDir, eden_path / SDMC_DIR);- GenerateEdenPath(EdenPath::ShaderDir, eden_path / SHADER_DIR);GenerateEdenPath(EdenPath::TASDir, eden_path / TAS_DIR);GenerateEdenPath(EdenPath::IconsDir, eden_path / ICONS_DIR);-+ // config+ GenerateEdenPath(EdenPath::ConfigDir, eden_path_config);+ // cache+ GenerateEdenPath(EdenPath::CacheDir, eden_path_cache);+ GenerateEdenPath(EdenPath::ShaderDir, eden_path_cache / SHADER_DIR);#ifdef _WIN32GenerateLegacyPath(EmuPath::RyujinxDir, GetAppDataRoamingDirectory() / RYUJINX_DIR);#else