From 1c48900fdace9b2ba1cd3b93ecae8aacb1e11168 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sat, 5 Jan 2013 04:01:01 -0500 Subject: Sync ALL bits of the joypad again. This may make controls a bit slower to parse, but is required by Super Mario All-Stars at least. --- source/ppu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ppu.cpp') diff --git a/source/ppu.cpp b/source/ppu.cpp index 91e16a0..9a3230c 100644 --- a/source/ppu.cpp +++ b/source/ppu.cpp @@ -2973,7 +2973,7 @@ void S9xUpdateJoypads () { IPPU.Joypads [i] = 0; // Sync each key - for (k = SNES_TR_MASK /* lowest value */; k != SNES_B_MASK << 1 /* one bit past the highest value */; k <<= 1) + for (k = 1; k != 0; k <<= 1) { KeyValue = IPPU.JoypadsAtHBlanks[i][0] & k; StartedPressed = KeyValue != 0; -- cgit v1.2.3