Merge pull request #623 from nsx0r/patch-33

fixed mapper 226
This commit is contained in:
sanni 2022-11-11 10:54:13 +01:00 committed by GitHub
commit 662d1b25bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3155,6 +3155,7 @@ void readPRG(boolean readrom) {
case 226:
banks = int_pow(2, prgsize);
for (int i = 0; i < banks; i += 2) {
write_prg_byte(0x8001, (i & 0x40) >> 6);
write_prg_byte(0x8000, ((i & 0x20) << 2) | (i & 0x1F));
for (word address = 0x0; address < 0x8000; address += 512) {
dumpPRG(base, address);