* Fix missing GameStateRestore

* Add mapper 403

Co-authored-by: negativeExponent <negativeExponent@users.noreply.github.com>
This commit is contained in:
negativeExponent
2022-01-24 22:53:53 +08:00
committed by GitHub
parent 758a51eacb
commit 03c42f32b3
8 changed files with 108 additions and 0 deletions

View File

@@ -85,8 +85,13 @@ static void UNLKS7057Reset(void) {
Sync();
}
static void StateRestore(int version) {
Sync();
}
void UNLKS7057_Init(CartInfo *info) {
info->Power = UNLKS7057Power;
info->Reset = UNLKS7057Reset;
GameStateRestore = StateRestore;
AddExState(&StateRegs, ~0, 0, 0);
}