From 1187a262d9f00a0b146bc1c49206ddca8e0c425b Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Sat, 4 Feb 2023 17:54:03 +0100 Subject: [PATCH] Bugfix audio.stop not clearing queue --- Capy64/Runtime/Libraries/Audio.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Capy64/Runtime/Libraries/Audio.cs b/Capy64/Runtime/Libraries/Audio.cs index 15f677d..b7ffe60 100644 --- a/Capy64/Runtime/Libraries/Audio.cs +++ b/Capy64/Runtime/Libraries/Audio.cs @@ -174,7 +174,9 @@ public class Audio : IPlugin } private static int L_Stop(IntPtr state) { + queue.Clear(); _game.Audio.Sound.Stop(); + return 0; }