Don't clobber ax in viewer event_click
This commit is contained in:
parent
5ffe87e467
commit
f3a1e6ca5f
|
@ -452,9 +452,8 @@ event_mouse:
|
||||||
; bx = Y
|
; bx = Y
|
||||||
; cx = X
|
; cx = X
|
||||||
; dl = mouse buttons
|
; dl = mouse buttons
|
||||||
; out:
|
|
||||||
; clobbers ax
|
|
||||||
event_click:
|
event_click:
|
||||||
|
push ax
|
||||||
; This is not a true event passed into our event handler, but
|
; This is not a true event passed into our event handler, but
|
||||||
; rather one we've synthetized from the mouse event
|
; rather one we've synthetized from the mouse event
|
||||||
; The reason we synthetize this event is because most interface
|
; The reason we synthetize this event is because most interface
|
||||||
|
@ -506,6 +505,7 @@ event_click:
|
||||||
.not_title_bar:
|
.not_title_bar:
|
||||||
|
|
||||||
.end:
|
.end:
|
||||||
|
pop ax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; in:
|
; in:
|
||||||
|
|
Loading…
Reference in New Issue