diff --git a/src/boards/addrlatch.c b/src/boards/addrlatch.c index 473559e..878e7a3 100644 --- a/src/boards/addrlatch.c +++ b/src/boards/addrlatch.c @@ -345,8 +345,14 @@ void Mapper212_Init(CartInfo *info) { /*------------------ Map 213 ---------------------------*/ static void M213Sync(void) { + if(latche & 0x40) { + setprg16(0x8000, (latche & 7)); + setprg16(0xC000, (latche & 7)); + } else { setprg32(0x8000, (latche >> 1) & 3); + } setchr8((latche >> 3) & 7); + setmirror(((latche & 1)^((latche >> 6) & 1)) ^ 1); } void Mapper213_Init(CartInfo *info) {