[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,1.38,1.39

James Brown ender at users.sourceforge.net
Sun Oct 6 08:45:01 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv20517/scumm

Modified Files:
	imuse.cpp 
Log Message:
Patch 614005b - mi2-carnival.diff fix by eriktorbjorn


Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- imuse.cpp	6 Oct 2002 08:22:45 -0000	1.38
+++ imuse.cpp	6 Oct 2002 15:44:16 -0000	1.39
@@ -4179,7 +4179,7 @@
 		vol_1 = volume_table[lookup_table[vol_1][c]];
 
 	adlib_setup_channel(mc->_channel, instr, vol_1, vol_2);
-	adlib_note_on_ex(mc->_channel, part->_transpose_eff + note, part->_detune_eff + part->_pitchbend);
+	adlib_note_on_ex(mc->_channel, part->_transpose_eff + note, part->_detune_eff + (part->_pitchbend * part->_pitchbend_factor >> 6));
 
 	if (instr->flags_a & 0x80) {
 		mc_init_stuff(mc, &mc->_s10a, &mc->_s11a, instr->flags_a, &instr->extra_a);





More information about the Scummvm-git-logs mailing list