From a5b442e5cba7aafa08c925b821d8a4de8c70a2bd Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 1 Dec 2026 00:55:15 +0100 Subject: mousew16: revert put strings in discard segment, since the callback strings also end up there --- makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/makefile b/makefile index 01c2fa4..a3c3486 100644 --- a/makefile +++ b/makefile @@ -27,11 +27,10 @@ dostsr_cflags = $(dos_cflags) -DIN_TSR -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT # -zu since ss != ds on the TSR # Compiler arguments for W16 .DLL/.DRV files -w16dll_cflags = -bt=windows -bd -mc -zu -zc -s -6 -osi -w3 -wcd=202 +w16dll_cflags = -bt=windows -bd -mc -zu -s -6 -osi -w3 -wcd=202 # -bd to build DLL # -mc to use compact memory model (far data pointers, ss != ds in a DLL) # -zu for DLL calling convention (ss != ds) -# -zc put const strings in the code segment (which may be discardable/moveable) # -s to disable stack checks, since the runtime uses MessageBox() to abort (which we can't call from mouse.drv) # Full compiler command lines -- cgit v1.2.3