Remove redundant modulo on wave buffer index
This is already performed by SetBufferIndex
This commit is contained in:
parent
595e7716d8
commit
7663e4b90c
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Audio.AudioRendererManager
|
|||
|
||||
if (wb.Looping == 0)
|
||||
{
|
||||
SetBufferIndex((_bufferIndex + 1) & 3);
|
||||
SetBufferIndex(_bufferIndex + 1);
|
||||
}
|
||||
|
||||
_outStatus.PlayedWaveBuffersCount++;
|
||||
|
|
Loading…
Add table
Reference in a new issue