aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sound/drivers/midi.cpp8
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);