diff options
author | terminator356 <termtech@rogers.com> | 2014-01-10 21:16:26 -0500 |
---|---|---|
committer | terminator356 <termtech@rogers.com> | 2014-01-10 21:16:26 -0500 |
commit | 0da82e59960c237955e14fa45965ae60b1d181b8 (patch) | |
tree | 3c65741b7b5c82d73d01a3cbee7ce480d1ab1956 /muse2/muse/midifile.cpp | |
parent | 59402f5bcb3804eaa7a2027f2677364c7cca544c (diff) |
Added Initialization Sequence editor. Roland SD-50 idf. Modify sysex editor...
Diffstat (limited to 'muse2/muse/midifile.cpp')
-rw-r--r-- | muse2/muse/midifile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/muse2/muse/midifile.cpp b/muse2/muse/midifile.cpp index 39b2e51d..424edd72 100644 --- a/muse2/muse/midifile.cpp +++ b/muse2/muse/midifile.cpp @@ -419,6 +419,10 @@ int MidiFile::readEvent(MidiPlayEvent* event, MidiFileTrack* t) lastMtype = MT_GM; return -1; } + if (((unsigned)len == gm2OnMsgLen) && memcmp(buffer, gm2OnMsg, gm2OnMsgLen) == 0) { + lastMtype = MT_GM2; + return -1; + } if (((unsigned)len == gsOnMsgLen) && memcmp(buffer, gsOnMsg, gsOnMsgLen) == 0) { lastMtype = MT_GS; return -1; |