Mappers 44,174,331,333,335: Reset to menu.

This commit is contained in:
NewRisingSun
2025-04-01 21:03:03 +02:00
committed by LibretroAdmin
parent 4438d28d1b
commit 7194d208d9
5 changed files with 35 additions and 0 deletions

View File

@@ -61,12 +61,18 @@ static void BMC12IN1Power(void) {
SetWriteHandler(0x8000, 0xFFFF, BMC12IN1Write);
}
static void BMC12IN1Reset(void) {
prgchr[0] = prgchr[1] = ctrl = 0;
Sync();
}
static void StateRestore(int version) {
Sync();
}
void BMC12IN1_Init(CartInfo *info) {
info->Power = BMC12IN1Power;
info->Reset = BMC12IN1Reset;
GameStateRestore = StateRestore;
AddExState(&StateRegs, ~0, 0, 0);
}