From 9e68f5026ec9969922868ee018eb603ca63970bd Mon Sep 17 00:00:00 2001 From: riperiperi Date: Wed, 14 Apr 2021 23:15:25 +0100 Subject: [PATCH] Fix skipping missing shaders --- Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index 2aef2f25..bfd46c82 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -137,6 +137,8 @@ namespace Ryujinx.Graphics.Gpu.Shader // Should not happen, but if someone messed with the cache it's better to catch it. invalidEntries?.Add(key); + _shaderCount = ++programIndex; + continue; }