瀏覽代碼

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

That one missing patch oops.
Mary 5 年之前
父節點
當前提交
88d0708061
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
                     }