aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary <me@thog.eu>2020-12-02 00:46:26 +0100
committerGitHub <noreply@github.com>2020-12-02 00:46:26 +0100
commitbc11443621ffd3a3da30af920d2a42f5cbfcb75d (patch)
tree23e6714c612cdefb5face206f16469cae6060c93
parentcf6cd714884c41e9550757e364c2f4f5b04fc7f3 (diff)
amadeus: Fix a typo in TapFrame logic (#1767)
This fix a crash at boot in Pang Adventures
-rw-r--r--Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs b/Ryujinx.Audio.Renderer/Server/Performance/PerformanceManagerGeneric.cs
index 54d9dc42..f0d3dd5c 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;