mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-11 20:49:06 +01:00
commit
9cabf64a0e
@ -3534,10 +3534,10 @@ void readPRG(boolean readrom) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 203:
|
case 203:
|
||||||
banks = int_pow(2, prgsize) / 2;
|
banks = int_pow(2, prgsize);
|
||||||
for (int i = 0; i < banks; i++) {
|
for (int i = 0; i < banks; i++) {
|
||||||
write_prg_byte(0x8000, (i & 0x1F) << 2);
|
write_prg_byte(0x8000, (i & 0x1F) << 2);
|
||||||
for (word address = 0x0; address < 0x8000; address += 512) {
|
for (word address = 0x0; address < 0x4000; address += 512) {
|
||||||
dumpPRG(base, address);
|
dumpPRG(base, address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user