mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-03 17:54:16 +01:00
fixed mapper 23
fixed mapper 23, tested working with Ganbare Goemon 2
This commit is contained in:
parent
642d582002
commit
2d3eeed53a
@ -2719,7 +2719,6 @@ void readPRG(boolean readrom) {
|
||||
break;
|
||||
|
||||
case 22:
|
||||
case 23:
|
||||
case 25:
|
||||
case 65:
|
||||
case 75: // 128K/256K
|
||||
@ -2732,6 +2731,18 @@ void readPRG(boolean readrom) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 23:
|
||||
banks = int_pow(2, prgsize) * 2;
|
||||
write_prg_byte(0x9002, 0);
|
||||
write_prg_byte(0x9008, 0);
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000, i);
|
||||
for (word address = 0x0; address < 0x2000; address += 512) {
|
||||
dumpPRG(base, address);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 24:
|
||||
case 26: // 256K
|
||||
|
Loading…
Reference in New Issue
Block a user