Removed the port parameter from mouse_init

git-svn-id: svn://svn.cc65.org/cc65/trunk@906 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-13 16:00:55 +00:00
parent 40aa38a6fd
commit 3d85621819
3 changed files with 13 additions and 41 deletions

View File

@@ -12,7 +12,7 @@
.export _mouse_buttons, _mouse_info
.import _readjoy
.import popa, popax, addysp1
.import popax, addysp1
.importzp ptr1, sp, sreg
.include "c64.inc"
@@ -35,13 +35,10 @@ XCORR = SPRITE_WIDTH
; --------------------------------------------------------------------------
;
; unsigned char __fastcall__ mouse_init (unsigned char port,
; unsigned char type);
; unsigned char __fastcall__ mouse_init (unsigned char type);
;
_mouse_init:
jsr popa ; Ignore type and port
lda OldIRQ+1 ; Already initialized?
bne AlreadyInitialized ; Jump if yes