From 2731fdc56bba802f50bf6fed99fd439479fce45a Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Fri, 12 Sep 2025 13:55:05 +0200 Subject: [PATCH] Mapper 280: UNROM-after-reset needs vertical mirroring. --- src/boards/280.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boards/280.c b/src/boards/280.c index b831be7..afd7d21 100644 --- a/src/boards/280.c +++ b/src/boards/280.c @@ -41,6 +41,7 @@ static void Sync(void) { setprg16(0x8000, 0x20 | latchData &0x07); setprg16(0xC000, 0x27); } + setmirror(MI_V); } else { if (latchAddr &0x01) setprg32(0x8000, latchAddr >>3 &0x0F); @@ -49,10 +50,10 @@ static void Sync(void) { setprg16(0xC000, latchAddr >>2 &0x1F); } if (~latchAddr &0x80) setprg16(0xC000, 0); + setmirror(latchAddr &0x02? MI_H: MI_V); } SetupCartCHRMapping(0, CHRptr[0], 0x2000, ~mode &0x01 && latchAddr &0x80? 0: 1); setchr8(0); - setmirror(latchAddr &0x02? MI_H: MI_V); } static DECLFW(M280Write) {