mirror of
https://github.com/sanni/cartreader.git
synced 2025-02-09 17:59:00 +01:00
Update NES.ino
- mapper 268 typo fix
This commit is contained in:
parent
caccb84d66
commit
e21229b1e9
@ -3950,9 +3950,8 @@ void readCHR(bool readrom) {
|
|||||||
write_prg_byte(0xA001, 0x80);
|
write_prg_byte(0xA001, 0x80);
|
||||||
for (size_t i = 0; i < banks; i++) {
|
for (size_t i = 0; i < banks; i++) {
|
||||||
write_prg_byte(0x6000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
|
write_prg_byte(0x6000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
|
||||||
write_prg_byte(0x6000, 0x02);
|
|
||||||
write_prg_byte(0x5000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
|
write_prg_byte(0x5000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
|
||||||
write_prg_byte(0x5000, 0x02);
|
write_prg_byte(0x8000, 0x02);
|
||||||
write_prg_byte(0x8001, i);
|
write_prg_byte(0x8001, i);
|
||||||
dumpBankCHR(0x1000, 0x1400);
|
dumpBankCHR(0x1000, 0x1400);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user