Explorar el Código

salieri: remove a wrong debug assert (#1740)

THis assert is wrong and useless now, remove it because it's annoying in
Debug.
Mary hace 5 años
padre
commit
25b9cde8be
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      Ryujinx.Graphics.Gpu/Shader/Cache/CacheCollection.cs

+ 0 - 1
Ryujinx.Graphics.Gpu/Shader/Cache/CacheCollection.cs

@@ -540,7 +540,6 @@ namespace Ryujinx.Graphics.Gpu.Shader.Cache
         public void AddValue(ref Hash128 keyHash, byte[] value)
         public void AddValue(ref Hash128 keyHash, byte[] value)
         {
         {
             Debug.Assert(value != null);
             Debug.Assert(value != null);
-            Debug.Assert(GetValueRaw(ref keyHash) != null);
 
 
             bool isAlreadyPresent;
             bool isAlreadyPresent;