ソースを参照

Fix skipping missing shaders

riperiperi 5 年 前
コミット
9e68f5026e
1 ファイル変更2 行追加0 行削除
  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;
                         }