Commit 5e59b1a5 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Added support for 32-bit NE code segments.

parent 23dc2e6a
......@@ -135,6 +135,7 @@ struct ne_segment_table_entry_s
#define NE_SEGFLAGS_RELOC_DATA 0x0100
#define NE_SEGFLAGS_SELFLOAD 0x0800
#define NE_SEGFLAGS_DISCARDABLE 0x1000
#define NE_SEGFLAGS_32BIT 0x2000
/*
* Relocation table entry
......
......@@ -860,7 +860,7 @@ BOOL NE_CreateSegments( NE_MODULE *pModule )
pSegment->hSeg = GLOBAL_Alloc( NE_Ne2MemFlags(pSegment->flags),
minsize, pModule->self,
!(pSegment->flags & NE_SEGFLAGS_DATA),
FALSE,
(pSegment->flags & NE_SEGFLAGS_32BIT) != 0,
FALSE /*pSegment->flags & NE_SEGFLAGS_READONLY*/ );
if (!pSegment->hSeg) return FALSE;
pSegment->flags |= NE_SEGFLAGS_ALLOCATED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment