소스 검색

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