Explorar el Código

Fix skipping missing shaders

riperiperi hace 5 años
padre
commit
9e68f5026e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs

+ 2 - 0
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;
                         }