Update to v098 hotfix release.

byuu says:

There was a minor SNES input regression spotted very shortly after
release.
This commit is contained in:
Tim Allen 2016-04-09 12:39:15 +10:00
parent e846c83d47
commit aff00506c5
1 changed files with 1 additions and 1 deletions

View File

@ -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;