From ed1a068d4f1a59c83bd74bcc16f2d68a2be4d5b4 Mon Sep 17 00:00:00 2001 From: CaH4e3 Date: Mon, 21 Oct 2013 14:31:30 +0000 Subject: [PATCH] mapper 02 - reverted back mirror hack, too much games are broken with it. TODO: make the separate mapper or hack into another one lol --- trunk/src/boards/datalatch.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/trunk/src/boards/datalatch.cpp b/trunk/src/boards/datalatch.cpp index 4b0177fe..716e101e 100644 --- a/trunk/src/boards/datalatch.cpp +++ b/trunk/src/boards/datalatch.cpp @@ -122,14 +122,14 @@ void NROM_Init(CartInfo *info) { //------------------ Map 2 --------------------------- static void UNROMSync(void) { - static uint32 mirror_in_use = 0; - if (PRGsize[0] <= 128 * 1024) { - setprg16(0x8000, latche & 0x7); - if (latche & 8) mirror_in_use = 1; - if (mirror_in_use) - setmirror(((latche >> 3) & 1) ^ 1); // Higway Star Hacked mapper - } else - setprg16(0x8000, latche & 0xf); +// static uint32 mirror_in_use = 0; +// if (PRGsize[0] <= 128 * 1024) { +// setprg16(0x8000, latche & 0x7); +// if (latche & 8) mirror_in_use = 1; +// if (mirror_in_use) +// setmirror(((latche >> 3) & 1) ^ 1); // Higway Star Hacked mapper, disabled till new mapper defined +// } else + setprg16(0x8000, latche); setprg16(0xc000, ~0); setchr8(0); }