Ticket #8064: mi2-carnival.diff

File mi2-carnival.diff, 753 bytes (added by eriktorbjorn, 22 years ago)

Patch against an October 4 CVS snapshot

  • scummvm/scumm/imuse.cpp

    diff -ur ScummVM-cvs20021004/scummvm/scumm/imuse.cpp ScummVM-cvs20021004+hack/scummvm/scumm/imuse.cpp
    old new  
    41794179                vol_1 = volume_table[lookup_table[vol_1][c]];
    41804180
    41814181        adlib_setup_channel(mc->_channel, instr, vol_1, vol_2);
    4182         adlib_note_on_ex(mc->_channel, part->_transpose_eff + note, part->_detune_eff + part->_pitchbend);
     4182        adlib_note_on_ex(mc->_channel, part->_transpose_eff + note, part->_detune_eff + (part->_pitchbend * part->_pitchbend_factor >> 6));
    41834183
    41844184        if (instr->flags_a & 0x80) {
    41854185                mc_init_stuff(mc, &mc->_s10a, &mc->_s11a, instr->flags_a, &instr->extra_a);