mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
[NES] fixed mapper 34
fixed mapper 34, confirmed working thanks to Avalon
This commit is contained in:
parent
12d2a6cac4
commit
1ea1f33cd3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user