[Scummvm-cvs-logs] SF.net SVN: scummvm:[53166] scummvm/trunk/engines/agi/sound_midi.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Oct 12 21:44:40 CEST 2010


Revision: 53166
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53166&view=rev
Author:   sev
Date:     2010-10-12 19:44:40 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
AGI: Fix bug #3017908 with MIDI music

Bug #3017908: "AGI: No music with the new MIDI patch"
Thanks to Raziel^ for pinpointing the bug.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound_midi.cpp

Modified: scummvm/trunk/engines/agi/sound_midi.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound_midi.cpp	2010-10-12 19:34:10 UTC (rev 53165)
+++ scummvm/trunk/engines/agi/sound_midi.cpp	2010-10-12 19:44:40 UTC (rev 53166)
@@ -82,7 +82,7 @@
 	}
 
 	memset(_channel, 0, sizeof(_channel));
-	memset(_channelVolume, 255, sizeof(_channelVolume));
+	memset(_channelVolume, 127, sizeof(_channelVolume));
 	_masterVolume = 0;
 	this->open();
 	_smfParser = MidiParser::createParser_SMF();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list