From 8e89326bdebd83a25e340ec1d3aa67fad4890e14 Mon Sep 17 00:00:00 2001 From: KKQ-KKQ Date: Thu, 25 Mar 2021 18:13:37 +0900 Subject: [PATCH] Added a process for SF2 output --- Source/sfont.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/sfont.cpp b/Source/sfont.cpp index dc2ffce..e746725 100755 --- a/Source/sfont.cpp +++ b/Source/sfont.cpp @@ -906,6 +906,7 @@ void SoundFont::writeIfil() write("ifil", 4); writeDword(4); unsigned char data[4]; + if (_fileFormatOut == SF2Format) _version.major = 2; if (_fileFormatOut == SF3Format) _version.major = 3; if (_fileFormatOut == SF4Format) _version.major = 4; data[0] = _version.major;