From f99caee01abce16b48aaf075c056da1b55017221 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 29 Apr 2017 01:58:58 +0000 Subject: [PATCH] remove hack to fix "Ganbare Goemon Gaiden" credits, but which are supposed to be broken. Fixes #788 --- trunk/src/boards/vrc2and4.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/trunk/src/boards/vrc2and4.cpp b/trunk/src/boards/vrc2and4.cpp index 571e4a8e..bd5c9fda 100644 --- a/trunk/src/boards/vrc2and4.cpp +++ b/trunk/src/boards/vrc2and4.cpp @@ -133,10 +133,14 @@ static DECLFW(M21Write) { } static DECLFW(M22Write) { - if (A == 0xC007) { // Ganbare Goemon Gaiden does strange things!!! at the end credits - weirdo = 8; // quick dirty hack, seems there is no other games with such PCB, so - // we never know if it will not work for something else lol - } + + //they say this is genuinely bugged in the game + //http://forums.nesdev.com/viewtopic.php?f=3&t=6584 + //if (A == 0xC007) { // Ganbare Goemon Gaiden does strange things!!! at the end credits + // weirdo = 8; // quick dirty hack, seems there is no other games with such PCB, so + // // we never know if it will not work for something else lol + //} + A |= ((A >> 2) & 0x3); // It's just swapped lines from 21 mapper // VRC24Write((A & 0xF000) | ((A >> 1) & 1) | ((A << 1) & 2), V);