Mapper 293: reset to menu
This commit is contained in:
@@ -79,6 +79,11 @@ static void M293Power(void) {
|
|||||||
SetWriteHandler(0xC000, 0xDFFF, M293Write3);
|
SetWriteHandler(0xC000, 0xDFFF, M293Write3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void M293Reset(void) {
|
||||||
|
regs[0] = regs[1] = 0;
|
||||||
|
Sync();
|
||||||
|
}
|
||||||
|
|
||||||
static void StateRestore(int version) {
|
static void StateRestore(int version) {
|
||||||
Sync();
|
Sync();
|
||||||
}
|
}
|
||||||
@@ -86,6 +91,7 @@ static void StateRestore(int version) {
|
|||||||
/* BMC 12-in-1/76-in-1 (NewStar) (Unl) */
|
/* BMC 12-in-1/76-in-1 (NewStar) (Unl) */
|
||||||
void Mapper293_Init(CartInfo *info) {
|
void Mapper293_Init(CartInfo *info) {
|
||||||
info->Power = M293Power;
|
info->Power = M293Power;
|
||||||
|
info->Reset = M293Reset;
|
||||||
GameStateRestore = StateRestore;
|
GameStateRestore = StateRestore;
|
||||||
AddExState(&StateRegs, ~0, 0, 0);
|
AddExState(&StateRegs, ~0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user