From bc11443621ffd3a3da30af920d2a42f5cbfcb75d 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;