Mappers 44,174,331,333,335: Reset to menu.
This commit is contained in:
committed by
LibretroAdmin
parent
4438d28d1b
commit
7194d208d9
@@ -57,18 +57,25 @@ static DECLFW(WriteCHR) {
|
||||
}
|
||||
|
||||
static void BMCCTC09Power(void) {
|
||||
regs[0] =regs[1] =0;
|
||||
Sync();
|
||||
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
||||
SetWriteHandler(0x8000, 0xBFFF, WriteCHR);
|
||||
SetWriteHandler(0xC000, 0xFFFF, WritePRG);
|
||||
}
|
||||
|
||||
static void BMCCTC09Reset(void) {
|
||||
regs[0] =regs[1] =0;
|
||||
Sync();
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
Sync();
|
||||
}
|
||||
|
||||
void BMCCTC09_Init(CartInfo *info) {
|
||||
info->Power = BMCCTC09Power;
|
||||
info->Reset = BMCCTC09Reset;
|
||||
GameStateRestore = StateRestore;
|
||||
AddExState(&StateRegs, ~0, 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user