diff options
author | sanni <[email protected]> | 2023-02-06 21:31:50 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-06 21:31:50 +0100 |
commit | 016ed2ded5fc8d7fdf859fa5899efe3ff06786a0 (patch) | |
tree | dc3edb125572ad4647c5bae3a9c9b2a4a83dc35e | |
parent | 16eb662c3be0f7e84bd79fa6de282e8bca695145 (diff) | |
parent | 7f8f49cb9c30a9b6ff87b475a0250ed37eaabb3e (diff) | |
download | cartreader-016ed2ded5fc8d7fdf859fa5899efe3ff06786a0.tar.gz cartreader-016ed2ded5fc8d7fdf859fa5899efe3ff06786a0.zip |
Merge pull request #704 from nsx0r/patch-51
fixed mapper 36
-rw-r--r-- | Cart_Reader/NES.ino | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cart_Reader/NES.ino b/Cart_Reader/NES.ino index 100ee0f..97a24c5 100644 --- a/Cart_Reader/NES.ino +++ b/Cart_Reader/NES.ino @@ -3989,7 +3989,7 @@ void readCHR(boolean readrom) { break; case 36: - banks = int_pow(2, chrsize) * 4; + banks = int_pow(2, chrsize) / 2; for (int i = 0; i < banks; i++) { write_prg_byte(0x4200, i); for (word address = 0x0; address < 0x2000; address += 512) { @@ -5400,4 +5400,4 @@ void writeFLASH() { #endif //****************************************** // End of File -//******************************************
\ No newline at end of file +//****************************************** |