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