diff options
author | Joost Peters | 2004-01-20 10:51:53 +0000 |
---|---|---|
committer | Joost Peters | 2004-01-20 10:51:53 +0000 |
commit | 11c8ff9544a048e51548bb3f0e3fd18b7ee96118 (patch) | |
tree | 88a983573988c57660d6dc1aaa066287bc129e40 /backends | |
parent | cba7fab326edd210607356eb87763569c5608157 (diff) | |
download | scummvm-rg350-11c8ff9544a048e51548bb3f0e3fd18b7ee96118.tar.gz scummvm-rg350-11c8ff9544a048e51548bb3f0e3fd18b7ee96118.tar.bz2 scummvm-rg350-11c8ff9544a048e51548bb3f0e3fd18b7ee96118.zip |
Handle command 0xD0 (queen uses this) - thanks aholler.
svn-id: r12533
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/alsa.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 7f3feae507..99c90b4349 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -172,6 +172,10 @@ void MidiDriver_ALSA::send(uint32 b) { snd_seq_ev_set_pgmchange(&ev, chanID, midiCmd[1]); send_event(0); break; + case 0xD0: + snd_seq_ev_set_chanpress(&ev, chanID, midiCmd[1]); + send_event(0); + break; case 0xE0:{ // long theBend = ((((long)midiCmd[1] + (long)(midiCmd[2] << 7))) - 0x2000) / 4; // snd_seq_ev_set_pitchbend(&ev, chanID, theBend); |