ADL & OPN: Added SysEx calls

They are supported by those engines and needed for XG and GS specific controls: GS custom drums are working and supported!
This commit is contained in:
Wohlstand 2020-09-29 01:59:29 +03:00 committed by Christoph Oelckers
parent 61f54f9487
commit 2f5332a461
2 changed files with 2 additions and 0 deletions

View file

@ -199,6 +199,7 @@ void ADLMIDIDevice::HandleEvent(int status, int parm1, int parm2)
void ADLMIDIDevice::HandleLongEvent(const uint8_t *data, int len) void ADLMIDIDevice::HandleLongEvent(const uint8_t *data, int len)
{ {
adl_rt_systemExclusive(Renderer, data, len);
} }
static const ADLMIDI_AudioFormat audio_output_format = static const ADLMIDI_AudioFormat audio_output_format =

View file

@ -208,6 +208,7 @@ void OPNMIDIDevice::HandleEvent(int status, int parm1, int parm2)
void OPNMIDIDevice::HandleLongEvent(const uint8_t *data, int len) void OPNMIDIDevice::HandleLongEvent(const uint8_t *data, int len)
{ {
opn2_rt_systemExclusive(Renderer, data, len);
} }
static const OPNMIDI_AudioFormat audio_output_format = static const OPNMIDI_AudioFormat audio_output_format =