diff options
author | James Brown | 2002-10-06 15:44:16 +0000 |
---|---|---|
committer | James Brown | 2002-10-06 15:44:16 +0000 |
commit | bbc1567526aaa538c844afd53b02913d6a31b761 (patch) | |
tree | 7a4a8b8d63f2b9111faa781d9fb88995806e94a9 /scumm/imuse.cpp | |
parent | 4f8cd24b24f8bb06b333904ed64543c5bfa59356 (diff) | |
download | scummvm-rg350-bbc1567526aaa538c844afd53b02913d6a31b761.tar.gz scummvm-rg350-bbc1567526aaa538c844afd53b02913d6a31b761.tar.bz2 scummvm-rg350-bbc1567526aaa538c844afd53b02913d6a31b761.zip |
Patch 614005b - mi2-carnival.diff fix by eriktorbjorn
svn-id: r5101
Diffstat (limited to 'scumm/imuse.cpp')
-rw-r--r-- | scumm/imuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index ecce396978..1be6f57ffb 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -4179,7 +4179,7 @@ void IMuseAdlib::mc_key_on(MidiChannel * mc2, byte note, byte velocity) 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); |