-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in-game hooks: more time efficient Auto Joypad Read snooping
This is a bit of a fire-and-forget strategy. After NMI/IRQ read the AJR result register as fast as possible to catch the readout from last frame. In some occasions AJR has already JUST started (its starting point is variable) in which case the readout is #$0000. For IRQ hooks this might lead to unusable readouts depending on the time of the IRQ. Also don't compare controller button mappings when no buttons are pressed.
- Loading branch information
Showing
1 changed file
with
37 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters