Add mapper 481.
This commit is contained in:
committed by
LibretroAdmin
parent
03f611085f
commit
40ffd6ecb6
@@ -628,3 +628,13 @@ void Mapper415_Init(CartInfo *info) {
|
||||
Latch_Init(info, Mapper415_Sync, 0, 0x8000, 0xFFFF, 0, 0);
|
||||
info->Power = M415Power;
|
||||
}
|
||||
|
||||
static void Mapper481_Sync(void) {
|
||||
setprg16(0x8000, latche >>4 &~7 | latche &7);
|
||||
setprg16(0xc000, latche >>4 | 7);
|
||||
setchr8(0);
|
||||
}
|
||||
|
||||
void Mapper481_Init(CartInfo *info) {
|
||||
Latch_Init(info, Mapper481_Sync, 0, 0x8000, 0xFFFF, 1, 0);
|
||||
}
|
||||
|
||||
@@ -846,6 +846,7 @@ INES_BOARD_BEGIN()
|
||||
INES_BOARD( "47-2", 467, Mapper467_Init )
|
||||
INES_BOARD( "BlazePro CPLD", 468, Mapper468_Init )
|
||||
INES_BOARD( "INX_007T_V01", 470, INX_007T_Init )
|
||||
INES_BOARD( "045N", 481, Mapper481_Init )
|
||||
INES_BOARD( "Yhc-000", 500, Mapper500_Init )
|
||||
INES_BOARD( "Yhc-001", 501, Mapper501_Init )
|
||||
INES_BOARD( "Yhc-002", 502, Mapper502_Init )
|
||||
|
||||
@@ -357,6 +357,7 @@ void Mapper466_Init(CartInfo *);
|
||||
void Mapper467_Init(CartInfo *);
|
||||
void Mapper468_Init(CartInfo *);
|
||||
void INX_007T_Init(CartInfo* info); /* Mapper 470 */
|
||||
void Mapper481_Init(CartInfo *);
|
||||
void Mapper500_Init(CartInfo *);
|
||||
void Mapper501_Init(CartInfo *);
|
||||
void Mapper502_Init(CartInfo *);
|
||||
|
||||
Reference in New Issue
Block a user