Mapper 61: Properly reset to menu, even after Galaxian was selected.

This commit is contained in:
NewRisingSun
2025-04-25 01:14:44 +02:00
committed by LibretroAdmin
parent ebdc557f85
commit e45068b5f9

View File

@@ -187,12 +187,14 @@ static void M61Sync(void) {
void Mapper61_Reset() { void Mapper61_Reset() {
latche =0; latche =0;
RAM[0x1A] =0;
RAM[0x1B] =0;
M61Sync(); M61Sync();
} }
void Mapper61_Init(CartInfo *info) { void Mapper61_Init(CartInfo *info) {
info->Reset = Mapper61_Reset;
Latch_Init(info, M61Sync, NULL, 0x0000, 0x8000, 0xFFFF, 0); Latch_Init(info, M61Sync, NULL, 0x0000, 0x8000, 0xFFFF, 0);
info->Reset = Mapper61_Reset;
} }
/*------------------ Map 063 ---------------------------*/ /*------------------ Map 063 ---------------------------*/