mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-03 23:38:55 +02:00
misc: chore: Fix shader cache & CPU cache being in different folders on non-Windows
fixes #565
This commit is contained in:
committed by
KeatonTheBot
parent
5e77ca25c8
commit
142a031383
@@ -117,7 +117,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||||||
private static string GetDiskCachePath()
|
private static string GetDiskCachePath()
|
||||||
{
|
{
|
||||||
return GraphicsConfig.EnableShaderCache && GraphicsConfig.TitleId != null
|
return GraphicsConfig.EnableShaderCache && GraphicsConfig.TitleId != null
|
||||||
? Path.Combine(AppDataManager.GamesDirPath, GraphicsConfig.TitleId, "cache", "shader")
|
? Path.Combine(AppDataManager.GamesDirPath, GraphicsConfig.TitleId.ToLower(), "cache", "shader")
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user