aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2022-11-25 14:39:03 +0000
committerGitHub <noreply@github.com>2022-11-25 14:39:03 +0000
commit476b4683cf428cddef3abbcf256ab7a931b9977c (patch)
treefa49a87907b6e42e9a58fe96077858bf90db0893 /Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs
parent5fb5079730e249d426f3f1afb45c4519708dfe4b (diff)
Fix CB0 alignment with addresses used for 8/16-bit LDG/STG (#3897)1.1.387
This replacement is meant to be done with the original identified byteOffset, not the one assigned later on by the below conditionals (that already has the constant offset added, for instance). This fixes videos being pixelated in Xenoblade 3, and other regressions that might have happened since #3847.
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs b/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs
index a91ab9e4..1d4842aa 100644
--- a/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/DiskCache/DiskCacheHostStorage.cs
@@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
private const ushort FileFormatVersionMajor = 1;
private const ushort FileFormatVersionMinor = 2;
private const uint FileFormatVersionPacked = ((uint)FileFormatVersionMajor << 16) | FileFormatVersionMinor;
- private const uint CodeGenVersion = 3868;
+ private const uint CodeGenVersion = 3897;
private const string SharedTocFileName = "shared.toc";
private const string SharedDataFileName = "shared.data";