commit 1470e4af153d8df1b628c509736a4d6e7b98dc77
parent cdbd627da8be1bd29dd4807b1a78752d14a74f9f
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 27 Feb 2022 18:40:17 +0100
add compatibility with Virus PowerCore exported patches, that write f8 instead of f7 as sysex terminator
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/synthLib/midiToSysex.cpp b/source/synthLib/midiToSysex.cpp
@@ -92,7 +92,7 @@ namespace synthLib
const auto c = getc(hFile);
sysex.push_back(static_cast<uint8_t>(c));
- if(c == 0xf7)
+ if(c == 0xf7 || c == 0xf8) // Virus Powercore writes f8 instead of f7
{
_sysexMessages.insert(_sysexMessages.end(), sysex.begin(), sysex.end());
break;