This commit is contained in:
Marco Carvalho
2024-12-27 13:29:02 -03:00
parent 57d1486da9
commit 00b86407a2
4 changed files with 4 additions and 4 deletions

View File

@@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
{
if (_cache == null || index >= _cache.Length)
{
_cache = new (byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))];
_cache = new(byte[], byte[])[Math.Max(index + 1, GetShadersCountFromLength(tocFileStream.Length))];
}
(byte[] guestCode, byte[] cb1Data) = _cache[index];