diff --git a/hello.asm b/hello.asm index 8cbefea..7afcb78 100644 --- a/hello.asm +++ b/hello.asm @@ -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: