aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-04 07:12:52 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-04 07:12:52 +0100
commitbada647d7680fd5df7fb0c97b31c755558acc97d (patch)
tree07f35b138041c7f8fdf74288aef0cc5fba3959df /src
parenta90356ca753b0abba557dfda3085d84ffc110162 (diff)
downloadgold-mine-run-bada647d7680fd5df7fb0c97b31c755558acc97d.tar.gz
gold-mine-run-bada647d7680fd5df7fb0c97b31c755558acc97d.zip
Don't need lock/unlock
Diffstat (limited to 'src')
-rw-r--r--src/sound.c4
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();
}