Skip to content

Commit c4f9575

Browse files
authored
Merge pull request #36 from jpcima/gems-bank
gems: force the percussive bank count to be at least 1
2 parents 0ed77f1 + 9a5a9b4 commit c4f9575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileFormats/format_gems_pat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ FfmtErrCode GEMS_PAT::loadFile(QString filePath, FmBank &bank)
6060
if(bankCount > (128 * 128))
6161
return FfmtErrCode::ERR_BADFORMAT;
6262

63-
bank.reset(bankCount, 0);
63+
bank.reset(bankCount, 1);
6464

6565
for(unsigned i = 0; i < bankCount; ++i)
6666
{

0 commit comments

Comments
 (0)