mirror of https://github.com/bsnes-emu/bsnes.git
Update to v098 hotfix release.
byuu says: There was a minor SNES input regression spotted very shortly after release.
This commit is contained in:
parent
e846c83d47
commit
aff00506c5
|
@ -1,6 +1,6 @@
|
||||||
//called every 256 clocks; see CPU::addClocks()
|
//called every 256 clocks; see CPU::addClocks()
|
||||||
auto CPU::stepAutoJoypadPoll() -> void {
|
auto CPU::stepAutoJoypadPoll() -> void {
|
||||||
if(vcounter() >= !ppu.overscan() ? 225 : 240) {
|
if(vcounter() >= (!ppu.overscan() ? 225 : 240)) {
|
||||||
//cache enable state at first iteration
|
//cache enable state at first iteration
|
||||||
if(status.auto_joypad_counter == 0) status.auto_joypad_latch = status.auto_joypad_poll;
|
if(status.auto_joypad_counter == 0) status.auto_joypad_latch = status.auto_joypad_poll;
|
||||||
status.auto_joypad_active = status.auto_joypad_counter <= 15;
|
status.auto_joypad_active = status.auto_joypad_counter <= 15;
|
||||||
|
|
Loading…
Reference in New Issue