diff options
author | athrxx | 2019-08-07 23:03:51 +0200 |
---|---|---|
committer | athrxx | 2020-01-02 14:42:47 +0100 |
commit | 923b8ea3124ee9682e45855a4a51f877e02b3a8a (patch) | |
tree | 455f7747f070d1950da7c61365e2525edd1c8f0f /engines/scumm | |
parent | 23f51c8182ee6cc01251bb26d504d73e882ed1f6 (diff) | |
download | scummvm-rg350-923b8ea3124ee9682e45855a4a51f877e02b3a8a.tar.gz scummvm-rg350-923b8ea3124ee9682e45855a4a51f877e02b3a8a.tar.bz2 scummvm-rg350-923b8ea3124ee9682e45855a4a51f877e02b3a8a.zip |
SCUMM: (iMUSE/Amiga) - improve sound driver destructor
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/imuse/drivers/amiga.cpp | 4 |
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); |