Remove redundant modulo on wave buffer index

This is already performed by SetBufferIndex
This commit is contained in:
bylaws 2020-01-18 18:45:04 +00:00 committed by Billy Laws
parent 595e7716d8
commit 7663e4b90c

View file

@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
if (wb.Looping == 0)
{
SetBufferIndex((_bufferIndex + 1) & 3);
SetBufferIndex(_bufferIndex + 1);
}
_outStatus.PlayedWaveBuffersCount++;