From: John Tsiombikas Date: Sun, 18 Jun 2023 23:45:56 +0000 (+0300) Subject: fix watcom version of set_mouse_limits X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=b4512666bb27febff4a3e17d1f1dd06a9f2168a9;p=retroray fix watcom version of set_mouse_limits --- 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