From 0677dbe6b705ff1faa9c8fb395bfc3793a620989 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 29 Apr 2017 02:10:48 +0000 Subject: [PATCH] fool around with vrc2 and vrc4 to bring selected address bits up to modern knowledge standards. fixes #789 --- trunk/src/boards/vrc2and4.cpp | 5 ++--- trunk/src/ines-correct.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/trunk/src/boards/vrc2and4.cpp b/trunk/src/boards/vrc2and4.cpp index bd5c9fda..8ae61fe6 100644 --- a/trunk/src/boards/vrc2and4.cpp +++ b/trunk/src/boards/vrc2and4.cpp @@ -127,8 +127,7 @@ static DECLFW(VRC24Write) { } static DECLFW(M21Write) { - A = (A & 0xF000) | ((A >> 1) & 0x3); // Ganbare Goemon Gaiden 2 - Tenka no Zaihou (J) [!] isn't mapper 21 actually, - // it's mapper 23 by wirings + A = (A & 0xF000) | ((A >> 1) & 0x3) | ((A >> 6) & 0x3); VRC24Write(A, V); } @@ -147,7 +146,7 @@ static DECLFW(M22Write) { } static DECLFW(M23Write) { - A |= ((A >> 2) & 0x3) | ((A >> 4) & 0x3) | ((A >> 6) & 0x3);// actually there is many-in-one mapper source, some pirate or + A |= ((A >> 2) & 0x3) | ((A >> 4) & 0x3);// actually there is many-in-one mapper source, some pirate or // licensed games use various address bits for registers VRC24Write(A, V); } diff --git a/trunk/src/ines-correct.h b/trunk/src/ines-correct.h index 2ab50872..a86f9526 100644 --- a/trunk/src/ines-correct.h +++ b/trunk/src/ines-correct.h @@ -84,7 +84,6 @@ {0x6e68e31a, 16, 8}, /* Dragon Ball 3*/ {0x33b899c9, 16, -1}, /* Dragon Ball - Dai Maou Fukkatsu (J) [!] */ {0xa262a81f, 16, -1}, /* Rokudenashi Blues (J) */ - {0x286fcd20, 23, -1}, /* Ganbare Goemon Gaiden 2 - Tenka no Zaihou (J) [!] */ {0xe4a291ce, 23, -1}, /* World Hero (Unl) [!] */ {0x51e9cd33, 23, -1}, /* World Hero (Unl) [b1] */ {0x105dd586, 27, -1}, /* Mi Hun Che variations... */