We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5433749 commit be1312cCopy full SHA for be1312c
Cart_Reader/NES.ino
@@ -2164,7 +2164,7 @@ void readPRG(bool readrom) {
2164
write_prg_byte(0x6000, (i & 0x70) >> 4);
2165
}
2166
if ((mapper == 115) || (mapper == 248)) {
2167
- write_prg_byte(0x6000, (i & 0x10) << 2); // A18
+ write_prg_byte(0x6000, (i & 0x20) << 1); // A18
2168
2169
if (mapper == 116) {
2170
write_prg_byte(0x4100, 0x01); // MMC3 mode
@@ -3541,7 +3541,7 @@ void readCHR(bool readrom) {
3541
write_prg_byte(0x6000, (i & 0x180) >> 3 | (i & 0x200) >> 7);
3542
3543
3544
- write_prg_byte(0x6000, (i & 0x100) >> 8); // A18
+ write_prg_byte(0x6001, (i & 0x100) >> 8); // A18
3545
3546
3547
write_prg_byte(0x4100, 0x01 | ((i & 0x100) >> 6)); // A18
0 commit comments