From 805fdac96cc084ef7c125a6dca0ca07c24bec520 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 2 Jul 2015 16:16:55 -0500 Subject: [PATCH] modified: exmmtest.exe modified: src/lib/16_mm.c --- exmmtest.exe | Bin 45320 -> 45320 bytes src/lib/16_mm.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exmmtest.exe b/exmmtest.exe index df027297c0e69293b1cef9fe4d2e498d25940c8f..c3e45c28f4ecd9be3f69f716b6cd372ffa28196a 100644 GIT binary patch delta 2247 zcmYjReNaHqnq@UcrAzt6QyHxe4_NWDPAsu zPoh@Dq`Jkc!7j-+0`+i$kn^ZNARjXiF^$o=+}^W z@JK&BGcmep4kh|zG0=nU2F9_IF_)ApOIbbGuo&oX+{MaR4729#I z63RDR*qpabz6Lo4H{blM^zNke792OcNV4Ik!9^BA5B^5O6gnX)*(KMYU(SFz^tNf8 zPw=#YxntfAaf;*{#f^wBspNA`ImRVkmiI#gy`JoR)3{;QZ1=I|;_R?*p!XIZnoImL zKU~qGk(UiuHWxoXu>}~OP{xMfHKUWf3$@1hX=g_##A{e(yyCE9`F@+U(kg9bydBv8 zR`}Yub^4lU%pDu{J?_0VVRrw7S&dTGm=Y>;dI@q&D>vRV@u63+^zFf5Cl;4h>7`Ay zd<|Iv+0O=*hU7t9%87Tyzsn`q&wdo@6d}SK8~MMu^d~;_8x%$Ok12| zJi&uA`^gHpZ(i|Y*cKV|DwXIP_clw*MBn$KuYcl#HK~*d+_$ylj)<3oU5S!b{8FvO z`C-#i?)Oqwzc?b_gghpJ)WR`l6_V~+F0;wxP3U2lks(OoV#r-s&3Q>39O6>RA*kb~&A9L*?yT3RT-1JX6uZf= zDA+d|yrMh<<@jWrJ-2iE4GuSQ1$#`CHmQ~b#!99v@r@P-(4Z_B!KDpQY+1aZf-kA& zL!EdqE&WRF*@^=%h2jWAa^Q0)Pa0Ehe5Ed4dP^TKFNJQ)TG9`5tnsQFERI^%pVYjB@PN+WP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s%)8o%Gt#j44)DFaxEmE``LhsLou&JPZ*hK0K{L0J9ON6F;w=P%a~tfa&d{|ue=fvSk#de% zYoRFFSu2RoA{cNEz^B#O+6JKobTygUJwg*aQL{wXBHU6Vc>UKXY7=fi1CqA|C!DD9 hXom$y$Mu?$#pI)otb=wfE=6x2vXYXHfs;%1{{t^gsPO;* diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 3f0e7e57..8df8cb4d 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -435,7 +435,7 @@ void MML_UseSpace(unsigned segstart, dword seglength, mminfo_t *mm) oldend = scan->start + scan->length; extra = oldend - (segstart+seglength); //++++emsver stuff! - if(extra > 0xffffl) + if(extra > 0xfffflu) { printf("MML_UseSpace: Segment spans two blocks!\n"); //return; @@ -451,7 +451,7 @@ void MML_UseSpace(unsigned segstart, dword seglength, mminfo_t *mm) else scan->length = segstart-scan->start; // shorten block - if(extra > 0) + if(0xfffflu > extra > 0) { MM_GetNewBlock(mm); mm->mmnew->next = scan->next; -- 2.39.5