OSDN Git Service
(root)
/
proj16
/
16.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c2a1f
)
modified: exmmtest.exe
author
sparky4
<sparky4@cock.li>
Thu, 2 Jul 2015 21:16:55 +0000
(16:16 -0500)
committer
sparky4
<sparky4@cock.li>
Thu, 2 Jul 2015 21:16:55 +0000
(16:16 -0500)
modified: src/lib/16_mm.c
exmmtest.exe
patch
|
blob
|
history
src/lib/16_mm.c
patch
|
blob
|
history
diff --git
a/exmmtest.exe
b/exmmtest.exe
index
df02729
..
c3e45c2
100644
(file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
diff --git
a/src/lib/16_mm.c
b/src/lib/16_mm.c
index
3f0e7e5
..
8df8cb4
100644
(file)
--- 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 > 0xffffl
u
)
{
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;