mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
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
This commit is contained in:
parent
f2d8d71a78
commit
77e70a7187
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user