Skip to content

Commit ea6ed69

Browse files
committed
add missing StateRestore on mapper 354
1 parent ed192be commit ea6ed69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/boards/354.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,15 @@ static void Mapper354_Power(void)
8383
Mapper354_Sync();
8484
}
8585

86+
static void StateRestore(int version) {
87+
Mapper354_Sync();
88+
}
89+
8690
void Mapper354_Init(CartInfo *info)
8791
{
8892
submapper = info->submapper;
8993
info->Power = Mapper354_Power;
9094
info->Reset = Mapper354_Reset;
95+
GameStateRestore = StateRestore;
9196
AddExState(StateRegs, ~0, 0, 0);
9297
}

0 commit comments

Comments
 (0)