From ca7c563de7d91809cef35b36036f3a7c41cb5c96 Mon Sep 17 00:00:00 2001 From: DigiDwrf <74699493+DigiDwrf@users.noreply.github.com> Date: Thu, 1 Sep 2022 17:44:22 -0500 Subject: [PATCH] Update zapper.c After testing trigger logic invertion option in VS roms, realized that ZD[w].bogo has to be inverted to work propperly --- src/input/zapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/zapper.c b/src/input/zapper.c index e14239f..49caae3 100644 --- a/src/input/zapper.c +++ b/src/input/zapper.c @@ -119,7 +119,7 @@ static uint8 FP_FASTAPASS(1) ReadZapperVS(int w) { if (ZD[w].zap_readbit == 4) ret = 1; if (ZD[w].zap_readbit == 7) { - if (ZD[w].bogo) + if (!ZD[w].bogo) ret |= 0x1; }