gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit dfbabef13aaba94df162b81054891a4cc584c405
parent beec82f990b2cd396d37d976b327b26c5c8af982
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 29 Jun 2024 15:31:05 +0200

support midi OS updates in integration tests

Diffstat:
Msource/virusIntegrationTest/integrationTest.cpp | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/source/virusIntegrationTest/integrationTest.cpp b/source/virusIntegrationTest/integrationTest.cpp @@ -13,6 +13,7 @@ #include "../synthLib/wavReader.h" #include "../synthLib/os.h" #include "../virusLib/buildconfig.h" +#include "../virusLib/romloader.h" namespace synthLib { @@ -87,8 +88,14 @@ int main(int _argc, char* _argv[]) { if(synthLib::hasExtension(file, ".txt")) presetsFile = file; - if(synthLib::hasExtension(file, ".bin")) + else if(synthLib::hasExtension(file, ".bin")) romFile = file; + else if(synthLib::hasExtension(file, ".mid")) + { + const auto rom = virusLib::ROMLoader::findROM(file); + if(rom.isValid()) + romFile = file; + } } if(romFile.empty())