Mappers 500-502: Fixed one-screen mirroring; reset to menu

This commit is contained in:
NewRisingSun
2025-04-01 01:16:54 +02:00
committed by LibretroAdmin
parent ebad4b9f13
commit a4a623b6c3
3 changed files with 23 additions and 6 deletions

View File

@@ -51,8 +51,14 @@ static void M500Power() {
SetWriteHandler(0x6000, 0x6FFF, M500WriteReg);
}
static void M500Reset() {
reg[0] = reg[1] = 0;
Sync();
}
void Mapper500_Init(CartInfo *info) {
Latch_Init(info, Sync, NULL, 0, 0);
info->Power = M500Power;
info->Reset = M500Reset;
AddExState(StateRegs, ~0, 0, NULL);
}