Przeglądaj źródła

Fix skipping missing shaders

riperiperi 5 lat temu
rodzic
commit
9e68f5026e
1 zmienionych plików z 2 dodań i 0 usunięć
  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;
                         }