From ee613aec52d0ef8e371a12157a42bc1b26254d9f Mon Sep 17 00:00:00 2001 From: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com> Date: Tue, 31 Mar 2026 23:08:26 +0200 Subject: [PATCH] Mapper 607: Correct for multiple UNROM games. --- src/boards/607.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/607.c b/src/boards/607.c index f56f705..c623e51 100644 --- a/src/boards/607.c +++ b/src/boards/607.c @@ -29,8 +29,8 @@ static DECLFR (readOB) { static void sync () { if (reg &0x10) { /* UNROM mode */ - setprg16(0x8000, reg <<3 &0x08 | Latch_data &0x07); - setprg16(0xC000, reg <<3 &0x08 | 0x07); + setprg16(0x8000, reg <<3 &~0x07 | Latch_data &0x07); + setprg16(0xC000, reg <<3 &~0x07 | 0x07); } else /* NROM-256 mode */ setprg32(0x8000, reg <<3 &0x04 | Latch_data >>1 &0x03); SetReadHandler(0x8000, 0xFFFF, reg &0x0C? readOB: CartBR); /* 6000.2 and 6000.3 seem to select additional UNROM games. Without a cartridge that has them, the exact workings remain unknown for now. */