MIDI channel aftertouch ignored in SCI (patch inside)
|Reported by:||SF/sven3000||Owned by:||bluegr|
|Game:||King's Quest 4|
In King's Quest 4 SCI, I repeatedly encountered the message "WARNING: Ignoring MIDI event d0". This MIDI command is the MIDI "channel aftertouch" message, and for some reason it is ignored by the SCI MIDI driver. This is because "case 0xd0" is not handled in the MidiPlayer_Midi::send function.
Although I have only seen this problem in KQ4 so far, I suppose it could occur in any SCI game that uses the channel aftertouch messages.
Attached is a patch that fixes this issue. It simply forwards the channel aftertouch messages to the driver as is. Further testing might be needed to see if this cause any side-effects.
This issue was observed on ScummVM 1.2 and 1.3svn54422 on Windows 7 x64, with game versions 1.000.111 and 1.006.004.
Ticket imported from: #3116614. Ticket imported from: bugs/5525.