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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user