mirror of
https://github.com/sanni/cartreader.git
synced 2025-04-01 05:56:37 +02:00
Update NES.ino - added mapper 399
added mapper 399
This commit is contained in:
parent
fde402a3fe
commit
191b0a99fd
@ -323,6 +323,7 @@ static const struct mapper_NES PROGMEM mapsize[] = {
|
||||
{ 366, 0, 6, 0, 8, 0, 0 }, // GN-45
|
||||
{ 380, 0, 5, 0, 0, 0, 0 }, // 970630C / KN-35A
|
||||
{ 396, 0, 6, 0, 0, 0, 0 }, // 晶太 [Jīngtài] YY850437C
|
||||
{ 399, 0, 6, 0, 0, 0, 0 }, // BATMAP-000
|
||||
{ 422, 1, 8, 0, 8, 0, 0 }, // TEC9719
|
||||
{ 446, 0, 8, 0, 0, 0, 0 }, // SMD172B_FPGA
|
||||
{ 470, 0, 11, 0, 0, 0, 0 }, // INX_007T_V01
|
||||
@ -3355,6 +3356,14 @@ void readPRG(bool readrom) {
|
||||
}
|
||||
break;
|
||||
|
||||
case 399:
|
||||
banks = int_pow(2, prgsize);
|
||||
for (size_t i = 0; i < banks; i++) {
|
||||
write_prg_byte(0xE001, i);
|
||||
dumpBankPRG(0x0, 0x4000, base);
|
||||
}
|
||||
break;
|
||||
|
||||
case 446:
|
||||
banks = int_pow(2, prgsize) * 2;
|
||||
write_prg_byte(0x5003, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user