mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
SCI: set the reverb setting of the current song when a relevant event is fired from the MIDI stream
svn-id: r54485
This commit is contained in:
parent
af15ac6f6a
commit
069309f88a
@ -502,9 +502,11 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) {
|
||||
switch (info.basic.param1) {
|
||||
case kSetReverb:
|
||||
if (info.basic.param2 == 127) // Set global reverb instead
|
||||
((MidiPlayer *)_driver)->setReverb(_music->getGlobalReverb());
|
||||
_pSnd->reverb = _music->getGlobalReverb();
|
||||
else
|
||||
((MidiPlayer *)_driver)->setReverb(info.basic.param2);
|
||||
_pSnd->reverb = _music->getGlobalReverb();
|
||||
|
||||
((MidiPlayer *)_driver)->setReverb(_pSnd->reverb);
|
||||
break;
|
||||
case kMidiHold:
|
||||
// Check if the hold ID marker is the same as the hold ID
|
||||
|
Loading…
x
Reference in New Issue
Block a user