diff options
-rw-r--r-- | engines/sci/sound/softseq/midi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/softseq/midi.cpp b/engines/sci/sound/softseq/midi.cpp index 0d6534d805..7951387762 100644 --- a/engines/sci/sound/softseq/midi.cpp +++ b/engines/sci/sound/softseq/midi.cpp @@ -591,7 +591,7 @@ int MidiPlayer_Midi::open(ResourceManager *resMan) { // General MIDI res = resMan->findResource(ResourceId(kResourceTypePatch, 4), 0); - if (res) { + if (res && isMt32GmPatch(res->data, res->size)) { readMt32GmPatch(res->data, res->size); // Detect the format of patch 1, so that we know what play mask to use |