From 77e70a71877a5d853393de24fc52a9e201b47b58 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 12 Oct 2010 19:44:40 +0000 Subject: 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 --- engines/agi/sound_midi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agi/sound_midi.cpp') 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(); -- cgit v1.2.3