fox32rom: Only clear the mouse click bit instead of the whole byte
This commit is contained in:
parent
3a5675ec6d
commit
eb46348730
|
@ -49,8 +49,9 @@ mouse_update:
|
||||||
; check click bit
|
; check click bit
|
||||||
bts r3, 0
|
bts r3, 0
|
||||||
ifz jmp mouse_update_end
|
ifz jmp mouse_update_end
|
||||||
; mouse was clicked
|
; mouse was clicked, clear the click bit
|
||||||
out r2, 0 ; clear all button state bits
|
bcl r3, 0
|
||||||
|
out r2, r3
|
||||||
|
|
||||||
; check if the mouse was clicked in the menu bar
|
; check if the mouse was clicked in the menu bar
|
||||||
;mov r2, 30
|
;mov r2, 30
|
||||||
|
|
Loading…
Reference in New Issue
Block a user