projects
/
retroray
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81dffaf
)
fix watcom version of set_mouse_limits
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 18 Jun 2023 23:45:56 +0000
(
02:45
+0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 18 Jun 2023 23:45:56 +0000
(
02:45
+0300)
src/dos/mouse.asm
patch
|
blob
|
history
diff --git
a/src/dos/mouse.asm
b/src/dos/mouse.asm
index
c82e7fd
..
92b4f49
100644
(file)
--- 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