aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-07 19:35:24 +0200
committerTorbjörn Andersson2015-06-07 19:35:24 +0200
commit47d905486cea5c98a5da632ad04c537c2c02be16 (patch)
treee2204cba69d95fd75f0ce7989d59e440e54ffa32 /engines
parentf2a25013f1862980107643b2c3d359a817d16e82 (diff)
downloadscummvm-rg350-47d905486cea5c98a5da632ad04c537c2c02be16.tar.gz
scummvm-rg350-47d905486cea5c98a5da632ad04c537c2c02be16.tar.bz2
scummvm-rg350-47d905486cea5c98a5da632ad04c537c2c02be16.zip
SHERLOCK: Initialize _midiParser. Fixes crash on exit in 3DO version.
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp
index c0a63bea8d..c00be10463 100644
--- a/engines/sherlock/music.cpp
+++ b/engines/sherlock/music.cpp
@@ -197,6 +197,7 @@ Music::Music(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
// 3DO - disable music
// TODO: Implement music support
_driver = NULL;
+ _midiParser = NULL;
_musicType = MT_NULL;
_musicOn = false;
return;