Backport add missing StateRestore on mapper 354
This commit is contained in:
@@ -84,10 +84,15 @@ static void Mapper354_Power(void)
|
||||
Mapper354_Sync();
|
||||
}
|
||||
|
||||
static void Mapper354_StateRestore(int version) {
|
||||
Mapper354_Sync();
|
||||
}
|
||||
|
||||
void Mapper354_Init(CartInfo *info)
|
||||
{
|
||||
submapper = info->submapper;
|
||||
info->Power =Mapper354_Power;
|
||||
info->Reset =Mapper354_Reset;
|
||||
GameStateRestore = Mapper354_StateRestore;
|
||||
AddExState(StateRegs, ~0, 0, 0);
|
||||
}
|
||||
|
||||
@@ -836,4 +836,4 @@ static void M464Sync(void) {
|
||||
|
||||
void Mapper464_Init(CartInfo *info) {
|
||||
Latch_Init(info, M464Sync, NULL, 0x0000, 0x8000, 0xFFFF, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user