mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 11:32:52 +02:00
Added workaround to reduce auto-joypad polling delays
(until we can emulate the behavior more faithfully)
This commit is contained in:
@@ -5,7 +5,11 @@ auto CPU::dmaCounter() const -> uint {
|
||||
|
||||
//joypad auto-poll clock divider
|
||||
auto CPU::joypadCounter() const -> uint {
|
||||
return counter.cpu & 255;
|
||||
//todo: this should be &255, but it causes too many issues in games, due to incomplete emulation:
|
||||
//Nuke (PD): inputs do not work (unless clearing $421x to $00)
|
||||
//Taikyoku Igo - Goliath: start button not acknowledged (unless clearing $421x to $ff)
|
||||
//Tatakae Genshijin 2: attract sequence ends early
|
||||
return counter.cpu & 31;
|
||||
}
|
||||
|
||||
auto CPU::stepOnce() -> void {
|
||||
|
Reference in New Issue
Block a user