mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-16 17:42:11 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
aff00506c5 |
@@ -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;
|
||||
|
Reference in New Issue
Block a user