From b72648acedc600cbcae89b03f93648fef8aab213 Mon Sep 17 00:00:00 2001 From: CaH4e3 Date: Fri, 20 Sep 2013 21:41:24 +0000 Subject: [PATCH] mapper 28 even better fix --- trunk/src/boards/28.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/trunk/src/boards/28.cpp b/trunk/src/boards/28.cpp index 7f8bae30..c787b8c3 100644 --- a/trunk/src/boards/28.cpp +++ b/trunk/src/boards/28.cpp @@ -129,8 +129,7 @@ static DECLFW(WriteEXP) { uint32 addr = A; uint8 value = V; - if (addr >= 0x5000) - reg = value & 0x81; + reg = value & 0x81; } static DECLFW(WritePRG) @@ -175,7 +174,7 @@ static void M28Power(void) prg_mask_16k = PRGsize[0] - 1; //EXP - SetWriteHandler(0x4020,0x5FFF,WriteEXP); + SetWriteHandler(0x5000,0x5FFF,WriteEXP); //PRG SetWriteHandler(0x8000,0xFFFF,WritePRG);