diff options
author | Travis Howell | 2011-10-07 14:38:24 +1100 |
---|---|---|
committer | Travis Howell | 2011-10-07 14:38:24 +1100 |
commit | d5a763b763a39dbd0873f7eb6e17105a9b1cc958 (patch) | |
tree | c3bd6f9694eab5becfb3b38fe44dd3d8e2dbad05 /engines/agos | |
parent | 19cac9bb11287f007edc1a8db0bc6b97ca5d98fa (diff) | |
download | scummvm-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.cpp | 1 |
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; } |