diff options
Diffstat (limited to 'engine/joypad.asm')
-rw-r--r-- | engine/joypad.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/joypad.asm b/engine/joypad.asm index 2b85cb61..4126568c 100644 --- a/engine/joypad.asm +++ b/engine/joypad.asm @@ -1,4 +1,4 @@ -ReadJoypad_:: ; c000 (3:4000) +ReadJoypad_:: ; Poll joypad input. ; Unlike the hardware register, button ; presses are indicated by a set bit. @@ -33,7 +33,7 @@ ReadJoypad_:: ; c000 (3:4000) ret -_Joypad:: ; c02d (3:402d) +_Joypad:: ; hJoyReleased: (hJoyLast ^ hJoyInput) & hJoyLast ; hJoyPressed: (hJoyLast ^ hJoyInput) & hJoyInput |