aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2010-10-12 19:44:40 +0000
committerEugene Sandulenko2010-10-12 19:44:40 +0000
commit77e70a71877a5d853393de24fc52a9e201b47b58 (patch)
tree6b947e81f7e53d4b81ee2818f696edade95f1300 /engines
parentf2d8d71a78520b164e76a47b1792190534625ffc (diff)
downloadscummvm-rg350-77e70a71877a5d853393de24fc52a9e201b47b58.tar.gz
scummvm-rg350-77e70a71877a5d853393de24fc52a9e201b47b58.tar.bz2
scummvm-rg350-77e70a71877a5d853393de24fc52a9e201b47b58.zip
AGI: Fix bug #3017908 with MIDI music
Bug #3017908: "AGI: No music with the new MIDI patch" Thanks to Raziel^ for pinpointing the bug. svn-id: r53166
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/sound_midi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/sound_midi.cpp b/engines/agi/sound_midi.cpp
index dcdaac53a7..0c8b3fa36a 100644
--- a/engines/agi/sound_midi.cpp
+++ b/engines/agi/sound_midi.cpp
@@ -82,7 +82,7 @@ SoundGenMIDI::SoundGenMIDI(AgiEngine *vm, Audio::Mixer *pMixer) : SoundGen(vm, p
}
memset(_channel, 0, sizeof(_channel));
- memset(_channelVolume, 255, sizeof(_channelVolume));
+ memset(_channelVolume, 127, sizeof(_channelVolume));
_masterVolume = 0;
this->open();
_smfParser = MidiParser::createParser_SMF();