Parcourir la source

Fix typo in assert in OpenAL implementation detail (#2106)

That one missing patch oops.
Mary il y a 5 ans
Parent
commit
88d0708061
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Ryujinx.Audio.Backends.OpenAL/OpenALHardwareDeviceSession.cs

+ 1 - 1
Ryujinx.Audio.Backends.OpenAL/OpenALHardwareDeviceSession.cs

@@ -176,7 +176,7 @@ namespace Ryujinx.Audio.Backends.OpenAL
                             }
                         }
 
-                        Debug.Assert(i < bufferIds.Length, "Unknown buffer id");
+                        Debug.Assert(i == bufferIds.Length, "Unknown buffer ids found!");
 
                         AL.DeleteBuffers(bufferIds);
                     }