Skip to content

Commit

Permalink
Update NES.ino
Browse files Browse the repository at this point in the history
- mapper 268 typo fix
  • Loading branch information
nsx0r authored Jan 22, 2025
1 parent caccb84 commit e21229b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cart_Reader/NES.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3950,9 +3950,8 @@ void readCHR(bool readrom) {
write_prg_byte(0xA001, 0x80);
for (size_t i = 0; i < banks; i++) {
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, 0x02);
write_prg_byte(0x8000, 0x02);
write_prg_byte(0x8001, i);
dumpBankCHR(0x1000, 0x1400);
}
Expand Down

0 comments on commit e21229b

Please sign in to comment.