From ea6ed69b874e3ae94072f1b4f14b9a8f0fdd774b Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 8 Feb 2023 17:47:03 -0500 Subject: [PATCH] add missing StateRestore on mapper 354 --- src/boards/354.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/boards/354.cpp b/src/boards/354.cpp index ba1693c5..a0ef3437 100644 --- a/src/boards/354.cpp +++ b/src/boards/354.cpp @@ -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); }