diff options
author | Jamieson Christian | 2002-10-21 09:32:38 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-10-21 09:32:38 +0000 |
commit | 7677e42ffe26ea21d57422c3ae0810047407304e (patch) | |
tree | bfe6291e4f319cc9805c7cfbecf30e69f70e280a /scumm | |
parent | 5862695bfd5cc08ec6e47dd8cfe082a0a86b7f6b (diff) | |
download | scummvm-rg350-7677e42ffe26ea21d57422c3ae0810047407304e.tar.gz scummvm-rg350-7677e42ffe26ea21d57422c3ae0810047407304e.tar.bz2 scummvm-rg350-7677e42ffe26ea21d57422c3ae0810047407304e.zip |
Pitch bend fixes for QTMA
svn-id: r5208
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index 74af0cb5f9..3ac9ff26a6 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -4550,6 +4550,7 @@ void IMuseGM::midiPitchBend(byte chan, int16 pitchbend) void IMuseGM::midiPitchBendFactor (byte chan, byte factor) { if (_midi_pitchbend_factor_last[chan] != factor) { _midi_pitchbend_factor_last[chan] = factor; + _md->setPitchBendRange (factor); // For high-level semantic drivers (such as QTMA) _md->send(( 0 << 16) | (101 << 8) | (0xB0 | chan)); _md->send(( 0 << 16) | (100 << 8) | (0xB0 | chan)); _md->send((factor << 16) | ( 6 << 8) | (0xB0 | chan)); |