fixed mapper 36

fixed mapper 36
This commit is contained in:
nsx0r 2023-02-06 21:28:51 +01:00 committed by GitHub
parent 16eb662c3b
commit 7f8f49cb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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