add missing StateRestore on mapper 354

This commit is contained in:
zeromus 2023-02-08 17:47:03 -05:00
parent ed192bec5c
commit ea6ed69b87
1 changed files with 5 additions and 0 deletions

View File

@ -83,10 +83,15 @@ static void Mapper354_Power(void)
Mapper354_Sync();
}
static void StateRestore(int version) {
Mapper354_Sync();
}
void Mapper354_Init(CartInfo *info)
{
submapper = info->submapper;
info->Power = Mapper354_Power;
info->Reset = Mapper354_Reset;
GameStateRestore = StateRestore;
AddExState(StateRegs, ~0, 0, 0);
}