misc: chore: Fix shader cache & CPU cache being in different folders on non-Windows

fixes #565
This commit is contained in:
Evan Husted 2025-01-22 08:52:21 -06:00
parent cd8113dadf
commit 9f53b07491

View File

@ -118,7 +118,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
private static string GetDiskCachePath()
{
return GraphicsConfig.EnableShaderCache && GraphicsConfig.TitleId != null
? Path.Combine(AppDataManager.GamesDirPath, GraphicsConfig.TitleId, "cache", "shader")
? Path.Combine(AppDataManager.GamesDirPath, GraphicsConfig.TitleId.ToLower(), "cache", "shader")
: null;
}