aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/drivers/midi.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-02-10 21:10:49 +0000
committerFilippos Karapetis2011-02-10 21:10:49 +0000
commit6a4ea3abd30dac9d79cc3424b2457fc596b75191 (patch)
treecde907cea187493a69e2b19fd4fd60b0c9c208fb /engines/sci/sound/drivers/midi.cpp
parent2ceb4339e942e45372399691e13b33a92cb4d862 (diff)
downloadscummvm-rg350-6a4ea3abd30dac9d79cc3424b2457fc596b75191.tar.gz
scummvm-rg350-6a4ea3abd30dac9d79cc3424b2457fc596b75191.tar.bz2
scummvm-rg350-6a4ea3abd30dac9d79cc3424b2457fc596b75191.zip
SCI: Added comments to the FB-01 and MIDI drivers. The original driver files are only
needed in SCI0 early games, which didn't include separate sound patch resources. Thanks to waltervn for the information he supplied svn-id: r55875
Diffstat (limited to 'engines/sci/sound/drivers/midi.cpp')
-rw-r--r--engines/sci/sound/drivers/midi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp
index b9a973ad7d..08e93d3213 100644
--- a/engines/sci/sound/drivers/midi.cpp
+++ b/engines/sci/sound/drivers/midi.cpp
@@ -878,6 +878,7 @@ int MidiPlayer_Midi::open(ResourceManager *resMan) {
readMt32Patch(res->data, res->size);
}
} else {
+ // Early SCI0 games have the sound bank embedded in the MT-32 driver
readMt32DrvData();
}
} else {
@@ -940,6 +941,8 @@ int MidiPlayer_Midi::open(ResourceManager *resMan) {
}
}
} else {
+ // Early SCI0 games have the sound bank embedded in the MT-32 driver
+
// No MT-32 patch present, try to read from MT32.DRV
Common::File f;