diff options
author | Martin Kiewitz | 2010-07-14 11:29:55 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-14 11:29:55 +0000 |
commit | 539d10ea11b1335613bbf4901f6952c8d97c07d3 (patch) | |
tree | 67717cfa190ce0d2d87c9297fc0c5042d6275f2b /engines/sci/sound | |
parent | b1f2ea64a7c1b472114831711a6929d2e761a1e0 (diff) | |
download | scummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.tar.gz scummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.tar.bz2 scummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.zip |
SCI: adding sound version 2.1, to properly add sci2.1 signature for kDoSound(play)
svn-id: r50878
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 3321811701..1ae0777113 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -516,6 +516,7 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { break; case SCI_VERSION_1_EARLY: case SCI_VERSION_1_LATE: + case SCI_VERSION_2_1: _dataincToAdd = 1; break; default: @@ -672,6 +673,7 @@ void MidiParser_SCI::setVolume(byte volume) { case SCI_VERSION_1_EARLY: case SCI_VERSION_1_LATE: + case SCI_VERSION_2_1: // Send previous channel volumes again to actually update the volume for (int i = 0; i < 15; i++) if (_channelRemap[i] != -1) |