diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-04 07:12:52 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-04 07:12:52 +0100 |
commit | bada647d7680fd5df7fb0c97b31c755558acc97d (patch) | |
tree | 07f35b138041c7f8fdf74288aef0cc5fba3959df | |
parent | a90356ca753b0abba557dfda3085d84ffc110162 (diff) | |
download | gold-mine-run-bada647d7680fd5df7fb0c97b31c755558acc97d.tar.gz gold-mine-run-bada647d7680fd5df7fb0c97b31c755558acc97d.zip |
Don't need lock/unlock
-rw-r--r-- | src/sound.c | 4 |
1 files changed, 0 insertions, 4 deletions
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(); } |