aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2011-10-07 14:38:24 +1100
committerTravis Howell2011-10-07 14:38:24 +1100
commitd5a763b763a39dbd0873f7eb6e17105a9b1cc958 (patch)
treec3bd6f9694eab5becfb3b38fe44dd3d8e2dbad05 /engines/agos
parent19cac9bb11287f007edc1a8db0bc6b97ca5d98fa (diff)
downloadscummvm-rg350-d5a763b763a39dbd0873f7eb6e17105a9b1cc958.tar.gz
scummvm-rg350-d5a763b763a39dbd0873f7eb6e17105a9b1cc958.tar.bz2
scummvm-rg350-d5a763b763a39dbd0873f7eb6e17105a9b1cc958.zip
AGOS: Update MidiPlayer::~MidiPlayer() to match the default implementation. Hopefully will fix bug #3419778, thanks to digitall for the pointer.
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/midi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp
index 9a93e0a273..431f080bf2 100644
--- a/engines/agos/midi.cpp
+++ b/engines/agos/midi.cpp
@@ -62,6 +62,7 @@ MidiPlayer::~MidiPlayer() {
Common::StackLock lock(_mutex);
if (_driver) {
+ _driver->setTimerCallback(0, 0);
_driver->close();
delete _driver;
}