New joystick API
git-svn-id: svn://svn.cc65.org/cc65/trunk@1800 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
; Common functions of the joystick API.
|
||||
;
|
||||
|
||||
.export _joy_install, _joy_deinstall
|
||||
.export _joy_install, _joy_deinstall, _joy_masks
|
||||
|
||||
.importzp ptr1
|
||||
|
||||
@@ -58,7 +58,7 @@ _joy_install:
|
||||
; Copy the mask array
|
||||
|
||||
ldy #JOY_MASKS + JOY_MASK_COUNT - 1
|
||||
ldx #JOY_MASK_COUNT
|
||||
ldx #JOY_MASK_COUNT-1
|
||||
@L1: lda (ptr1),y
|
||||
sta _joy_masks,x
|
||||
dey
|
||||
|
||||
Reference in New Issue
Block a user