fix: don't ignore shape argument to cx16.mouse_config2

This commit is contained in:
Mark J. Reed 2022-10-29 17:10:06 -04:00
parent 5b35232ab4
commit c2f062a391

View File

@ -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
}}
}