Преглед на файлове

amadeus: Fix a typo in TapFrame logic (#1767)

This fix a crash at boot in Pang Adventures
Mary преди 5 години
родител
ревизия
bc11443621
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs

+ 1 - 1
Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs

@@ -277,7 +277,7 @@ namespace Ryujinx.Audio.Renderer.Server.Performance
 
         public override void TapFrame(bool dspRunningBehind, uint voiceDropCount, ulong startRenderingTicks)
         {
-            if (_availableFrameCount > 1)
+            if (_availableFrameCount > 0)
             {
                 int targetIndexForHistory = _indexHistoryWrite;