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 +//******************************************