* 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

@@ -56,7 +56,12 @@ static void LE05Power(void) {
SetWriteHandler(0x8000, 0xFFFF, LE05Write);
}
static void StateRestore(int version) {
Sync();
}
void LE05_Init(CartInfo *info) {
info->Power = LE05Power;
GameStateRestore = StateRestore;
AddExState(&StateRegs, ~0, 0, 0);
}