From 9a5a9b4c82ac9f6336e87ee4ce6b599901725119 Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Fri, 7 Sep 2018 11:48:04 +0200 Subject: [PATCH] gems: force the percussive bank count to be at least 1 --- src/FileFormats/format_gems_pat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileFormats/format_gems_pat.cpp b/src/FileFormats/format_gems_pat.cpp index 13e2d71..266a764 100644 --- a/src/FileFormats/format_gems_pat.cpp +++ b/src/FileFormats/format_gems_pat.cpp @@ -60,7 +60,7 @@ FfmtErrCode GEMS_PAT::loadFile(QString filePath, FmBank &bank) if(bankCount > (128 * 128)) return FfmtErrCode::ERR_BADFORMAT; - bank.reset(bankCount, 0); + bank.reset(bankCount, 1); for(unsigned i = 0; i < bankCount; ++i) {