Przeglądaj źródła

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

That one missing patch oops.
Mary 5 lat temu
rodzic
commit
88d0708061

+ 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);
                     }