Backport add missing StateRestore on mapper 354

This commit is contained in:
libretroadmin
2024-07-20 18:23:16 +02:00
parent d2557ae061
commit 5d6b3dab7c
2 changed files with 6 additions and 1 deletions

View File

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