aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/imuse/drivers/amiga.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/drivers/amiga.cpp b/engines/scumm/imuse/drivers/amiga.cpp
index 9002e2b9f4..c9855ea3ec 100644
--- a/engines/scumm/imuse/drivers/amiga.cpp
+++ b/engines/scumm/imuse/drivers/amiga.cpp
@@ -676,12 +676,12 @@ void IMuseDriver_Amiga::close() {
_isOpen = false;
- Common::StackLock lock(_mutex);
-
stopPaula();
setTimerCallback(0, 0);
_mixer->stopHandle(_soundHandle);
+ Common::StackLock lock(_mutex);
+
unloadInstruments();
g_system->delayMillis(20);