Don't clobber ax in viewer event_click

This commit is contained in:
shikhin 2023-03-26 04:24:48 +05:30
parent 5ffe87e467
commit f3a1e6ca5f
1 changed files with 2 additions and 2 deletions

View File

@ -452,9 +452,8 @@ event_mouse:
; bx = Y
; cx = X
; dl = mouse buttons
; out:
; clobbers ax
event_click:
push ax
; This is not a true event passed into our event handler, but
; rather one we've synthetized from the mouse event
; The reason we synthetize this event is because most interface
@ -506,6 +505,7 @@ event_click:
.not_title_bar:
.end:
pop ax
ret
; in: