forked from offtopia/ponydos
Don't clobber ax in event_click in hello.asm
This commit is contained in:
parent
bd9a62c1ce
commit
27a52e86e7
|
@ -252,9 +252,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
|
||||
|
@ -306,6 +305,7 @@ event_click:
|
|||
.not_title_bar:
|
||||
|
||||
.end:
|
||||
pop ax
|
||||
ret
|
||||
|
||||
; in:
|
||||
|
|
Loading…
Reference in New Issue