Skip to content

Commit

Permalink
Merge pull request #1043 from sanni/nsx0r-patch-1
Browse files Browse the repository at this point in the history
update NES.txt and fix mapper 58
  • Loading branch information
nsx0r authored Nov 24, 2024
2 parents 68ab9b6 + a3e2f00 commit a4750c1
Show file tree
Hide file tree
Showing 2 changed files with 15,586 additions and 1,645 deletions.
4 changes: 2 additions & 2 deletions Cart_Reader/NES.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2172,8 +2172,8 @@ void readPRG(bool readrom) {

case 58:
case 213:
banks = int_pow(2, prgsize) / 2;
for (size_t i = 0; i < banks; i++) {
banks = int_pow(2, prgsize);
for (size_t i = 0; i < banks; i += 2) {
write_prg_byte(0x8000 + (i & 0x07), 0x00);
dumpBankPRG(0x0, 0x8000, base);
}
Expand Down
Loading

0 comments on commit a4750c1

Please sign in to comment.