[Scummvm-cvs-logs] CVS: scummvm/backends/midi alsa.cpp,1.16,1.17
Joost Peters
joostp at users.sourceforge.net
Tue Jan 20 02:52:01 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/midi
In directory sc8-pr-cvs1:/tmp/cvs-serv518/backends/midi
Modified Files:
alsa.cpp
Log Message:
Handle command 0xD0 (queen uses this) - thanks aholler.
Index: alsa.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/alsa.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- alsa.cpp 6 Jan 2004 12:45:27 -0000 1.16
+++ alsa.cpp 20 Jan 2004 10:51:53 -0000 1.17
@@ -172,6 +172,10 @@
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);
More information about the Scummvm-git-logs
mailing list