diff options
author | Filippos Karapetis | 2010-01-29 23:08:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-29 23:08:12 +0000 |
commit | 8977c1a4aa64b3ce8f527969c01c9e8bd695fd9e (patch) | |
tree | dffabc5137985dc84c0c30ab9a9946db971cc7d9 /engines | |
parent | 99f59d858e89c2cf7d5f96c919b2793b167c3099 (diff) | |
download | scummvm-rg350-8977c1a4aa64b3ce8f527969c01c9e8bd695fd9e.tar.gz scummvm-rg350-8977c1a4aa64b3ce8f527969c01c9e8bd695fd9e.tar.bz2 scummvm-rg350-8977c1a4aa64b3ce8f527969c01c9e8bd695fd9e.zip |
Disabled the MIDI volume changing code till we figure out why it's getting volume values greater than 127
svn-id: r47688
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 79a3660931..13ff8dc1b8 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -524,6 +524,8 @@ byte *MidiParser_SCI::midiFilterChannels(int channelMask) { } void MidiParser_SCI::setVolume(byte volume) { + // FIXME: This receives values > 127, so it has been disabled for now +#if 0 assert(volume <= MUSIC_VOLUME_MAX); if (_volume != volume) { _volume = volume; @@ -548,6 +550,7 @@ void MidiParser_SCI::setVolume(byte volume) { error("MidiParser_SCI::setVolume: Unsupported soundVersion"); } } +#endif } } // End of namespace Sci |