Merge pull request #103 from iamgreaser/gm/fix-choppy-audio-at-non-60fps

Fix choppy audio at sub-60fps framerates
This commit is contained in:
fgsfds authored and GitHub committed 2023-08-27 12:49:54 +02:00
commit 1f49665c05
1 file changed
+6 -2
+6 -2
View File
@@ -235,9 +235,13 @@ void schedStartFrame(OSSched *sc)
void schedAudioFrame(OSSched *sc)
{
s32 i;
if (!g_SndDisabled) {
amgrFrame();
audioEndFrame();
for (i = 0; i < g_Vars.diffframe60; i++) {
amgrFrame();
audioEndFrame();
}
}
}