[NES] fixed mapper 34

fixed mapper 34, confirmed working thanks to Avalon
This commit is contained in:
nsx0r 2023-04-11 12:33:14 +02:00 committed by GitHub
parent 12d2a6cac4
commit 1ea1f33cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2841,6 +2841,7 @@ void readPRG(boolean readrom) {
for (int i = 0; i < banks; i++) {
write_prg_byte(0x7FFD, i); // NINA Bank select
write_prg_byte(0x8000, i); // BxROM bank select
delay(200); // NINA seems slow to switch banks
for (word address = 0x0; address < 0x8000; address += 512) { // 32K Banks ($8000-$FFFF)
dumpPRG(base, address);
}