From b4512666bb27febff4a3e17d1f1dd06a9f2168a9 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Mon, 19 Jun 2023 02:45:56 +0300 Subject: [PATCH] fix watcom version of set_mouse_limits --- src/dos/mouse.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4