diff --git a/Ryujinx.Audio.Backends.OpenAL/OpenALHardwareDeviceSession.cs b/Ryujinx.Audio.Backends.OpenAL/OpenALHardwareDeviceSession.cs index 7bca4427..055c608b 100644 --- a/Ryujinx.Audio.Backends.OpenAL/OpenALHardwareDeviceSession.cs +++ b/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); }