From 01c16dcf4df6ef5ff45e689984c57e038a907577 Mon Sep 17 00:00:00 2001 From: byuu <2107894+byuu@users.noreply.github.com> Date: Fri, 27 Dec 2019 08:32:18 +0900 Subject: [PATCH] Fix Taikyoku Igo - Goliath (clear $4218-421f to 1s instead of 0s at start of auto-joypad polling) --- bsnes/sfc/cpu/timing.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsnes/sfc/cpu/timing.cpp b/bsnes/sfc/cpu/timing.cpp index 8fb40023..2e45e56e 100644 --- a/bsnes/sfc/cpu/timing.cpp +++ b/bsnes/sfc/cpu/timing.cpp @@ -215,10 +215,10 @@ auto CPU::joypadEdge() -> void { controllerPort2.device->latch(0); //shift registers are cleared at start of auto joypad polling - io.joy1 = 0; - io.joy2 = 0; - io.joy3 = 0; - io.joy4 = 0; + io.joy1 = ~0; + io.joy2 = ~0; + io.joy3 = ~0; + io.joy4 = ~0; } uint2 port0 = controllerPort1.device->data();