Skip to content
Permalink
Browse files

Merge pull request #12 from Ben10do/more-sram-banks

Enable support for more than four SRAM banks
  • Loading branch information...
sinamas committed Feb 24, 2019
2 parents d7494e0 + 69ba252 commit 9b693febdb30e829dba38ea6162f54dd17759aeb
Showing with 3 additions and 2 deletions.
  1. +3 −2 libgambatte/src/mem/pakinfo.cpp
@@ -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()

0 comments on commit 9b693fe

Please sign in to comment.
You can’t perform that action at this time.