mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
MIDI control change 18 is no longer transmitted.
It is not a valid MIDI control change message. It is used internally in the SCUMM MIDI tracks to indicate part priority. The only MidiDriver that needs it is Adlib. It should be noted that the priority values are out of bounds for a regular MIDI message anyway. Valid control change values are 0-127, but the priority value ranges from 0-255. This fixes a crash with a certain software MT-32 emulator running under Linux. Thanks to olki for bringing up this issue. svn-id: r13645
This commit is contained in:
parent
4ee0365a23
commit
f7084c20e9
@ -154,7 +154,7 @@ public:
|
||||
virtual void panPosition (byte value) { controlChange (10, value); }
|
||||
virtual void pitchBendFactor (byte value) = 0;
|
||||
virtual void detune (byte value) { controlChange (17, value); }
|
||||
virtual void priority (byte value) { controlChange (18, value); }
|
||||
virtual void priority (byte value) { }
|
||||
virtual void sustain (bool value) { controlChange (64, value ? 1 : 0); }
|
||||
virtual void effectLevel (byte value) { controlChange (91, value); }
|
||||
virtual void chorusLevel (byte value) { controlChange (93, value); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user