Skip to content

Commit

Permalink
Merge pull request #12 from Ben10do/more-sram-banks
Browse files Browse the repository at this point in the history
Enable support for more than four SRAM banks
  • Loading branch information
sinamas committed Feb 24, 2019
2 parents d7494e0 + 69ba252 commit 9b693fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libgambatte/src/mem/pakinfo.cpp
Expand Up @@ -20,9 +20,10 @@ unsigned numRambanksFromH14x(unsigned char h147, unsigned char h149) {
case 0x00: return isMbc2(h147) ? 1 : 0;
case 0x01:
case 0x02: return 1;
default: case 0x03: return 4;
case 0x04: return 16;
case 0x05: return 8;
}

return 4;
}

PakInfo::PakInfo()
Expand Down

0 comments on commit 9b693fe

Please sign in to comment.