diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-04 07:21:37 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-04 07:21:37 +0100 |
commit | c05d652dbd067ccac5f34455a4741cbbc02fd960 (patch) | |
tree | cc34689b6e82bcd8351724f805be3bb3374c4e0b /src/sound.c | |
parent | e3077bf4c5c7f17397795b2c469db802a00245ff (diff) | |
download | gold-mine-run-c05d652dbd067ccac5f34455a4741cbbc02fd960.tar.gz gold-mine-run-c05d652dbd067ccac5f34455a4741cbbc02fd960.zip |
Prevent MikMod_Update being called from the int
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdint.h> +#include <dos.h> #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(); } |