From 3b05920d4bf00869bfb8f65a36344d504cc75ec3 Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Fri, 12 Sep 2025 13:39:26 +0200 Subject: [PATCH] Mapper 464: Reset to menu from Galaxian. --- src/boards/addrlatch.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/boards/addrlatch.c b/src/boards/addrlatch.c index ea3c0ed..040af3e 100644 --- a/src/boards/addrlatch.c +++ b/src/boards/addrlatch.c @@ -846,8 +846,15 @@ static void M464Sync(void) { setmirror(latche &0x20? MI_H: MI_V); } +void Mapper464_reset () { + RAM[0x133] = 0; + latche = 0; + M464Sync(); +} + void Mapper464_Init(CartInfo *info) { Latch_Init(info, M464Sync, NULL, 0x0000, 0x8000, 0xFFFF, 1); + info->Reset = Mapper464_reset; } /*------------------ Map 488 ---------------------------*/