Jelajahi Sumber

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

This fix a crash at boot in Pang Adventures
Mary 5 tahun lalu
induk
melakukan
bc11443621

+ 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)
         public override void TapFrame(bool dspRunningBehind, uint voiceDropCount, ulong startRenderingTicks)
         {
         {
-            if (_availableFrameCount > 1)
+            if (_availableFrameCount > 0)
             {
             {
                 int targetIndexForHistory = _indexHistoryWrite;
                 int targetIndexForHistory = _indexHistoryWrite;