mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
fixed NES mapper 200
fixed NES mapper 200
This commit is contained in:
parent
6590f7e583
commit
9506005c6b
@ -3506,7 +3506,7 @@ void readPRG(boolean readrom) {
|
||||
case 200:
|
||||
banks = int_pow(2, prgsize);
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000, (i & 0x07));
|
||||
write_prg_byte(0x8000 + (i & 0x07), 0);
|
||||
for (word address = 0x0; address < 0x4000; address += 512) {
|
||||
dumpPRG(base, address);
|
||||
}
|
||||
@ -4263,7 +4263,7 @@ void readCHR(boolean readrom) {
|
||||
case 200:
|
||||
banks = int_pow(2, chrsize) / 2;
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000, (i & 0x07));
|
||||
write_prg_byte(0x8000 + (i & 0x07), 0);
|
||||
for (word address = 0x0; address < 0x2000; address += 512) {
|
||||
dumpCHR(address);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user