From aff00506c5b2a988ea8f119b17ed27e38cc23334 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Sat, 9 Apr 2016 12:39:15 +1000 Subject: [PATCH] Update to v098 hotfix release. byuu says: There was a minor SNES input regression spotted very shortly after release. --- higan/sfc/cpu/joypad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/higan/sfc/cpu/joypad.cpp b/higan/sfc/cpu/joypad.cpp index 0d257b03..ae716a10 100644 --- a/higan/sfc/cpu/joypad.cpp +++ b/higan/sfc/cpu/joypad.cpp @@ -1,6 +1,6 @@ //called every 256 clocks; see CPU::addClocks() auto CPU::stepAutoJoypadPoll() -> void { - if(vcounter() >= !ppu.overscan() ? 225 : 240) { + if(vcounter() >= (!ppu.overscan() ? 225 : 240)) { //cache enable state at first iteration if(status.auto_joypad_counter == 0) status.auto_joypad_latch = status.auto_joypad_poll; status.auto_joypad_active = status.auto_joypad_counter <= 15;