X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdos%2Fmouse.asm;h=92b4f492aed40ed7662de0d70c30f8dcc244ad4b;hb=b4512666bb27febff4a3e17d1f1dd06a9f2168a9;hp=c82e7fdaa3eaa4195221a90c498746b4fbeb4b3b;hpb=1ee73f3c18d424d7f1f0f36aa1f3ca06337a9d9c;p=retroray diff --git a/src/dos/mouse.asm b/src/dos/mouse.asm index c82e7fd..92b4f49 100644 --- a/src/dos/mouse.asm +++ b/src/dos/mouse.asm @@ -11,8 +11,8 @@ XLIM equ 7 YLIM equ 8 PUSHA_EAX_OFFS equ 28 -PUSHA_ECX_OFFS equ 20 -PUSHA_EDX_OFFS equ 16 +PUSHA_ECX_OFFS equ 24 +PUSHA_EDX_OFFS equ 20 section .text bits 32 @@ -129,7 +129,7 @@ _set_mouse: pop ebp ret -; void set_mouse_limits(int xmin, int ymin, int xmax, int ymax) +; void set_mouse_limits(int xmin[eax], int ymin[edx], int xmax[ebx], int ymax[ecx]) global set_mouse_limits_ set_mouse_limits_: pusha