From c05d652dbd067ccac5f34455a4741cbbc02fd960 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 4 Jul 2023 07:21:37 +0100 Subject: Prevent MikMod_Update being called from the int --- src/sound.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/sound.c b/src/sound.c index 5eac6fa..31383c8 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1,4 +1,5 @@ #include +#include #include "data.h" @@ -137,5 +138,7 @@ void sound_play_queue() while (queue_top > 0) sound_play_efx(queue[--queue_top]); + disable(); MikMod_Update(); + enable(); } -- cgit v1.2.3