Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit e21229b

Browse files
authored
Update NES.ino
- mapper 268 typo fix
1 parent caccb84 commit e21229b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Cart_Reader/NES.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3950,9 +3950,8 @@ void readCHR(bool readrom) {
39503950
write_prg_byte(0xA001, 0x80);
39513951
for (size_t i = 0; i < banks; i++) {
39523952
write_prg_byte(0x6000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
3953-
write_prg_byte(0x6000, 0x02);
39543953
write_prg_byte(0x5000, ((i & 0x380) >> 4) | ((i & 0xC00) >> 9));
3955-
write_prg_byte(0x5000, 0x02);
3954+
write_prg_byte(0x8000, 0x02);
39563955
write_prg_byte(0x8001, i);
39573956
dumpBankCHR(0x1000, 0x1400);
39583957
}

0 commit comments

Comments
 (0)