From bada647d7680fd5df7fb0c97b31c755558acc97d Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 4 Jul 2023 07:12:52 +0100 Subject: Don't need lock/unlock --- src/sound.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/sound.c b/src/sound.c index 4345ed8..3f99895 100644 --- a/src/sound.c +++ b/src/sound.c @@ -80,9 +80,7 @@ void sound_update() if (++divider == 10) { divider = 0; - MikMod_Lock(); MikMod_Update(); - MikMod_Unlock(); } } @@ -137,7 +135,5 @@ void sound_play_queue() while (queue_top > 0) sound_play_efx(queue[--queue_top]); - MikMod_Lock(); MikMod_Update(); - MikMod_Unlock(); } -- cgit v1.2.3