Explorar o código

Fix bug causing an audio buffer to be enqueued more than once (#2940)

gdkchan %!s(int64=4) %!d(string=hai) anos
pai
achega
c0056546e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Ryujinx.Audio/Common/AudioDeviceSession.cs

+ 1 - 1
Ryujinx.Audio/Common/AudioDeviceSession.cs

@@ -175,7 +175,7 @@ namespace Ryujinx.Audio.Common
 
             for (int i = 0; i < buffersToFlush.Length; i++)
             {
-                buffersToFlush[i] = _buffers[_hardwareBufferIndex];
+                buffersToFlush[i] = _buffers[hardwareBufferIndex];
 
                 _bufferAppendedCount--;
                 _bufferRegisteredCount++;