Merge pull request #542 from nsx0r/patch-9

fixed mapper 93
This commit is contained in:
sanni 2022-10-01 14:42:54 +02:00 committed by GitHub
commit ceba5d2856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3171,7 +3171,6 @@ void readPRG(boolean readrom) {
case 70:
case 89:
case 93: // 128K
case 152: // 64K/128K
banks = int_pow(2, prgsize);
for (int i = 0; i < banks; i++) { // 128K
@ -3276,7 +3275,18 @@ void readPRG(boolean readrom) {
}
}
break;
case 93:
banks = int_pow(2, prgsize);
for (int i = 0; i < banks; i++) {
write_prg_byte(0x6000, i);
write_prg_byte(0x8000, i << 4 | 0x01);
for (word address = 0x0; address < 0x4000; address += 512) {
dumpPRG(base, address);
}
}
break;
case 94:
banks = int_pow(2, prgsize);
for (int i = 0; i < banks; i++) { // 128K