From ebad4b9f139396d6fd3dc0424b018f3006765ca1 Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Mon, 31 Mar 2025 23:45:49 +0200 Subject: [PATCH] Updated mapper 460 --- src/boards/460.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards/460.c b/src/boards/460.c index 0422a5c..02d94e0 100644 --- a/src/boards/460.c +++ b/src/boards/460.c @@ -30,7 +30,7 @@ static DECLFR(Mapper460_ReadOB) static void Mapper460_PRGWrap(uint32 A, uint8 V) { int prgAND =0x0F; int prgOR =EXPREGS[0] <<4; - if (EXPREGS[0] &0x20 && (EXPREGS[0] !=0x20 || ~EXPREGS[1] &1)) { /* Menu selection by selectively connecting CPU D7 to reg or not */ + if (EXPREGS[0] &0x38) { /* Menu selection by selectively connecting CPU D7 to reg or not */ if (~A &0x4000) { setprg8(A, (EXPREGS[0] &0x10? ~2: ~0) &V &prgAND | prgOR &~prgAND); setprg8(A |0x4000, (EXPREGS[0] &0x10? 2: 0) |V &prgAND | prgOR &~prgAND);