Remove sprite param to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -56,11 +56,10 @@ initmouse:
|
||||
|
||||
;--------------------------------------------------------------------
|
||||
; Initialize mouse routines
|
||||
; void __fastcall__ mouse_init (unsigned char port, unsigned char sprite, unsigned char type);
|
||||
; void __fastcall__ mouse_init (unsigned char port, unsigned char type);
|
||||
|
||||
_mouse_init:
|
||||
pha ; remember mouse type
|
||||
jsr popa ; ignore sprite / pm for now
|
||||
jsr popa
|
||||
sta port_nr
|
||||
pla ; get mouse type again
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
.export _mouse_pos, _mouse_info
|
||||
.export _mouse_move, _mouse_buttons
|
||||
|
||||
.import popax, popsreg, addysp1
|
||||
.import popa, popsreg, addysp1
|
||||
.importzp sp, sreg, ptr1
|
||||
|
||||
.include "../inc/const.inc"
|
||||
@@ -25,12 +25,11 @@
|
||||
; --------------------------------------------------------------------------
|
||||
;
|
||||
; unsigned char __fastcall__ mouse_init (unsigned char port,
|
||||
; unsigned char sprite,
|
||||
; unsigned char type);
|
||||
; unsigned char type);
|
||||
;
|
||||
|
||||
_mouse_init:
|
||||
jsr popax ; ignore all parameters
|
||||
jsr popa ; ignore all parameters
|
||||
|
||||
jsr StartMouseMode
|
||||
jsr MouseOff
|
||||
|
||||
Reference in New Issue
Block a user