From 846c31aa68c6108bb3a582221a8835813082c01d Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Mon, 27 Mar 2023 20:52:04 +0200 Subject: [PATCH] M380: Corrected the DIP switch operation. --- src/boards/380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards/380.c b/src/boards/380.c index c2cfca4..f14ac63 100644 --- a/src/boards/380.c +++ b/src/boards/380.c @@ -57,7 +57,7 @@ static void Sync(void) static DECLFR(M380Read) { if (latche & 0x100 && !isKN35A) - return dipswitch; + return CartBR(A | dipswitch); return CartBR(A); }