Skip to content

Commit

Permalink
Merge pull request #36 from jpcima/gems-bank
Browse files Browse the repository at this point in the history
gems: force the percussive bank count to be at least 1
  • Loading branch information
Wohlstand authored Sep 7, 2018
2 parents 0ed77f1 + 9a5a9b4 commit c4f9575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileFormats/format_gems_pat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c4f9575

Please sign in to comment.