diff --git a/viewer.asm b/viewer.asm index b7eb04c..a36e0db 100644 --- a/viewer.asm +++ b/viewer.asm @@ -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: