]> 4ch.mooo.com Git - 16.git/commitdiff
applied fix
authorsparky4 <sparky4@cock.li>
Mon, 13 Jul 2015 00:17:12 +0000 (19:17 -0500)
committersparky4 <sparky4@cock.li>
Mon, 13 Jul 2015 00:17:12 +0000 (19:17 -0500)
modified:   exmmtest.exe
modified:   src/lib/16_mm.c

exmmtest.exe
src/lib/16_mm.c

index 4bd6a747a6cc8b7e119261a328369acfbeb69787..9e1491304f965eb012bccd0f2da33dfc4fd3a05e 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index ae8205f3af040b02ebd152d7813d11f87a91b15f..cf7e431c79ebf70de16615731c636d76759af1d4 100644 (file)
@@ -83,10 +83,11 @@ static      char *ParmStringsexmm[] = {"noems","noxms",""};
 boolean MML_CheckForEMS(void)
 {
        boolean emmcfems;
-       char    emmname[] = "EMMXXXX0";
+       static char     emmname[] = "EMMXXXX0"; //fix by andrius4669
 //             mov     dx,OFFSET emmname
        __asm {
-               LEA     DX, emmname     //fix by andrius4669
+               //LEA   DX, emmname     //fix by andrius4669
+               mov     dx,OFFSET emmname       //fix by andrius4669
                mov     ax,0x3d00
                int     0x21            // try to open EMMXXXX0 device
                jc      error