From afe7440ead7739300d64c569ea2f0b17ff5cdd3d Mon Sep 17 00:00:00 2001 From: nsx0r Date: Mon, 24 Oct 2022 15:04:51 +0200 Subject: [PATCH] fixed NES mapper 203 fixed NES mapper 203 --- Cart_Reader/NES.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cart_Reader/NES.ino b/Cart_Reader/NES.ino index 9d027a0..fc56120 100644 --- a/Cart_Reader/NES.ino +++ b/Cart_Reader/NES.ino @@ -3523,10 +3523,10 @@ void readPRG(boolean readrom) { break; case 203: - banks = int_pow(2, prgsize) / 2; + banks = int_pow(2, prgsize); for (int i = 0; i < banks; i++) { write_prg_byte(0x8000, (i & 0x1F) << 2); - for (word address = 0x0; address < 0x8000; address += 512) { + for (word address = 0x0; address < 0x4000; address += 512) { dumpPRG(base, address); } }