mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 15:50:09 +00:00
Added support for 32-bit NE code segments.
This commit is contained in:
parent
23dc2e6a73
commit
5e59b1a5b4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue