commit 05863c70cd3dbcc9544133373ff54e5861f53130
parent fb890f5db0a37f0ab412a7349e8f710eea59aba6
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Wed, 13 Nov 2024 22:29:16 +0100
fix .vtibackup file import might prematurely abort
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/virusLib/device.cpp b/source/virusLib/device.cpp
@@ -398,7 +398,7 @@ namespace virusLib
const auto name = ROMFile::getSingleName(preset);
- if(name.size() != 10)
+ if(name.empty())
break;
auto& sysex = _sysexPresets.emplace_back(std::vector<uint8_t>{