mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
Merge pull request #88 from markjreed/fix-mouse_config2
fix: don't ignore shape argument to cx16.mouse_config2
This commit is contained in:
commit
71d2f091e5
@ -393,9 +393,10 @@ asmsub kbdbuf_clear() {
|
||||
asmsub mouse_config2(ubyte shape @A) clobbers (A, X, Y) {
|
||||
; -- convenience wrapper function that handles the screen resolution for mouse_config() for you
|
||||
%asm {{
|
||||
pha ; save shape
|
||||
sec
|
||||
jsr cx16.screen_mode ; set current screen mode and res in A, X, Y
|
||||
lda #1
|
||||
pla ; get shape back
|
||||
jmp cx16.mouse_config
|
||||
}}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user