Skip to content

Commit

Permalink
Update NES.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
nsx0r authored Nov 24, 2024
1 parent 68ab9b6 commit a513c4c
Showing 1 changed file with 2 additions and 2 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

0 comments on commit a513c4c

Please sign in to comment.