From 6dc40f552ec38d6c1bff41e22999581598721890 Mon Sep 17 00:00:00 2001 From: Mary Date: Wed, 2 Dec 2020 00:46:26 +0100 Subject: [PATCH] amadeus: Fix a typo in TapFrame logic (#1767) This fix a crash at boot in Pang Adventures --- .../Server/Performance/PerformanceManagerGeneric.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs b/Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs index 54d9dc426..f0d3dd5cc 100644 --- a/Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs +++ b/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;