diff options
author | Chris Robinson <[email protected]> | 2014-06-26 04:35:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-06-26 04:35:51 -0700 |
commit | d19e42a723231d63da777d51a3b036683b42e702 (patch) | |
tree | 196785535c3b7b0636e1de8aa0b301aa397a17c8 /OpenAL32 | |
parent | b9462bbe3c8c56c928ef59a6ff2a9b3699557706 (diff) |
Don't require MIDI sysex data to have the high bit clear
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alMidi.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 6313523e..015b1915 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -101,18 +101,12 @@ AL_API void AL_APIENTRY alMidiSysExSOFT(ALuint64SOFT time, const ALbyte *data, A ALCdevice *device; ALCcontext *context; ALenum err; - ALsizei i; context = GetContextRef(); if(!context) return; if(!data || size < 0) SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done); - for(i = 0;i < size;i++) - { - if((data[i]&0x80)) - SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done); - } device = context->Device; ALCdevice_Lock(device); |