From 27a8cbb016dc5772e10c775ff5edc5fd5b4c4e80 Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Fri, 6 Mar 2020 13:53:36 +0800 Subject: [PATCH] Fix mirroring in mapper 200 --- src/boards/addrlatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards/addrlatch.c b/src/boards/addrlatch.c index 41ef1c1..e3dba77 100644 --- a/src/boards/addrlatch.c +++ b/src/boards/addrlatch.c @@ -266,7 +266,7 @@ static void M200Sync(void) { setprg16(0x8000, latche & 7); setprg16(0xC000, latche & 7); setchr8(latche & 7); - setmirror((latche & 8) >> 3); + setmirror(((latche >> 3) & 1) ^ 1); } void Mapper200_Init(CartInfo *info) {