From 3ac194f9ee7fa0063d0a3f64be90c20ae18319c0 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 2 Nov 2023 00:20:18 +0100 Subject: [PATCH] port: pal: fix (?) audio stutter --- src/lib/audiomgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/audiomgr.c b/src/lib/audiomgr.c index 4e1deff92..7791798de 100644 --- a/src/lib/audiomgr.c +++ b/src/lib/audiomgr.c @@ -345,8 +345,8 @@ void amgrFrame(void) info->frameSamples = 184; var8005cf94 = 2; } else { - // have space in audio queue, render 2 naudio frames this frame - info->frameSamples = 368; + // have space in audio queue, render 2 naudio frames this frame (and 1 extra on PAL) + info->frameSamples = 368 + PAL * 184; if (var8005cf94 != 0) { var8005cf94--;