mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-11 07:25:07 +01:00
fixed mapper 36
fixed mapper 36
This commit is contained in:
parent
16eb662c3b
commit
7f8f49cb9c
@ -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
|
||||
//******************************************
|
||||
//******************************************
|
||||
|
Loading…
Reference in New Issue
Block a user