diff options
author | Filippos Karapetis | 2010-11-26 06:41:45 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-26 06:41:45 +0000 |
commit | 1d4e452c780c346f977dc641822adf16532dff30 (patch) | |
tree | 012ecedf5939e4b0081a8cc3e1043008ebfe4855 /engines | |
parent | abe6baafb917270a86dfe2c35bf9aa5c326f3154 (diff) | |
download | scummvm-rg350-1d4e452c780c346f977dc641822adf16532dff30.tar.gz scummvm-rg350-1d4e452c780c346f977dc641822adf16532dff30.tar.bz2 scummvm-rg350-1d4e452c780c346f977dc641822adf16532dff30.zip |
SCI: Send the SCI0 reverb init after reading the reverb data
svn-id: r54492
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/drivers/midi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp index 05d88e5436..66ee013964 100644 --- a/engines/sci/sound/drivers/midi.cpp +++ b/engines/sci/sound/drivers/midi.cpp @@ -479,8 +479,6 @@ void MidiPlayer_Midi::readMt32Patch(const byte *data, int size) { // Reverb default only used in (roughly) SCI0/SCI01 byte reverb = str->readByte(); - if (_version <= SCI_VERSION_0_LATE) - setReverb(reverb); _hasReverb = true; @@ -488,8 +486,6 @@ void MidiPlayer_Midi::readMt32Patch(const byte *data, int size) { str->seek(11, SEEK_CUR); // Read reverb data (stored vertically - patch #3117434) - // TODO: we need to send this to the MT-32, if it's available, - // depending on the SCI version for (int j = 0; j < 3; ++j) { for (int i = 0; i < kReverbConfigNr; i++) { _reverbConfig[i][j] = str->readByte(); @@ -521,6 +517,10 @@ void MidiPlayer_Midi::readMt32Patch(const byte *data, int size) { sendMt32SysEx(0x100004, str, 9); } + // Reverb for SCI0 + if (_version <= SCI_VERSION_0_LATE) + setReverb(reverb); + // Send after-SysEx text str->seek(0); sendMt32SysEx(0x200000, str, 20); |