mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-26 22:44:15 +01:00
Update NES.ino
This commit is contained in:
parent
68ab9b6f2b
commit
a513c4c219
@ -2172,8 +2172,8 @@ void readPRG(bool readrom) {
|
|||||||
|
|
||||||
case 58:
|
case 58:
|
||||||
case 213:
|
case 213:
|
||||||
banks = int_pow(2, prgsize) / 2;
|
banks = int_pow(2, prgsize);
|
||||||
for (size_t i = 0; i < banks; i++) {
|
for (size_t i = 0; i < banks; i += 2) {
|
||||||
write_prg_byte(0x8000 + (i & 0x07), 0x00);
|
write_prg_byte(0x8000 + (i & 0x07), 0x00);
|
||||||
dumpBankPRG(0x0, 0x8000, base);
|
dumpBankPRG(0x0, 0x8000, base);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user