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

fixes #565
metal Canary-1.2.284
Evan Husted 2025-01-22 08:52:21 -06:00
parent cd8113dadf
commit 9f53b07491
1 changed files with 1 additions and 1 deletions

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;
}