mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-13 08:25:05 +01:00
added mapper 255 (same as 225)
added mapper 255 (same as 225)
This commit is contained in:
parent
6435a64df8
commit
2f9ff59343
@ -119,6 +119,7 @@ static const byte PROGMEM mapsize[] = {
|
||||
240, 1, 5, 1, 5, 0, 3, // C&E Bootleg Board (Sheng Huo Lie Zhuan, Jing Ke Xin Zhuan) [UNLICENSED]
|
||||
242, 5, 5, 0, 0, 0, 0, // ET-113 [UNLICENSED]
|
||||
246, 5, 5, 7, 7, 0, 0, // C&E Feng Shen Bang [UNLICENSED]
|
||||
255, 7, 7, 8, 8, 0, 0, // 110-in-1 multicart (same as 225) [UNLICENSED]
|
||||
};
|
||||
|
||||
/******************************************
|
||||
@ -3548,6 +3549,7 @@ void readPRG(boolean readrom) {
|
||||
break;
|
||||
|
||||
case 225:
|
||||
case 255:
|
||||
banks = int_pow(2, prgsize) / 2;
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000 + (i << 6), i << 6);
|
||||
@ -4335,6 +4337,7 @@ void readCHR(boolean readrom) {
|
||||
break;
|
||||
|
||||
case 225:
|
||||
case 255:
|
||||
banks = int_pow(2, chrsize) / 2;
|
||||
for (int i = 0; i < banks; i++) {
|
||||
write_prg_byte(0x8000 + i, i);
|
||||
|
Loading…
Reference in New Issue
Block a user