Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5e59b1a5
Commit
5e59b1a5
authored
Jul 15, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jul 15, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for 32-bit NE code segments.
parent
23dc2e6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
neexe.h
include/neexe.h
+1
-0
segment.c
loader/ne/segment.c
+1
-1
No files found.
include/neexe.h
View file @
5e59b1a5
...
@@ -135,6 +135,7 @@ struct ne_segment_table_entry_s
...
@@ -135,6 +135,7 @@ struct ne_segment_table_entry_s
#define NE_SEGFLAGS_RELOC_DATA 0x0100
#define NE_SEGFLAGS_RELOC_DATA 0x0100
#define NE_SEGFLAGS_SELFLOAD 0x0800
#define NE_SEGFLAGS_SELFLOAD 0x0800
#define NE_SEGFLAGS_DISCARDABLE 0x1000
#define NE_SEGFLAGS_DISCARDABLE 0x1000
#define NE_SEGFLAGS_32BIT 0x2000
/*
/*
* Relocation table entry
* Relocation table entry
...
...
loader/ne/segment.c
View file @
5e59b1a5
...
@@ -860,7 +860,7 @@ BOOL NE_CreateSegments( NE_MODULE *pModule )
...
@@ -860,7 +860,7 @@ BOOL NE_CreateSegments( NE_MODULE *pModule )
pSegment
->
hSeg
=
GLOBAL_Alloc
(
NE_Ne2MemFlags
(
pSegment
->
flags
),
pSegment
->
hSeg
=
GLOBAL_Alloc
(
NE_Ne2MemFlags
(
pSegment
->
flags
),
minsize
,
pModule
->
self
,
minsize
,
pModule
->
self
,
!
(
pSegment
->
flags
&
NE_SEGFLAGS_DATA
),
!
(
pSegment
->
flags
&
NE_SEGFLAGS_DATA
),
FALSE
,
(
pSegment
->
flags
&
NE_SEGFLAGS_32BIT
)
!=
0
,
FALSE
/*pSegment->flags & NE_SEGFLAGS_READONLY*/
);
FALSE
/*pSegment->flags & NE_SEGFLAGS_READONLY*/
);
if
(
!
pSegment
->
hSeg
)
return
FALSE
;
if
(
!
pSegment
->
hSeg
)
return
FALSE
;
pSegment
->
flags
|=
NE_SEGFLAGS_ALLOCATED
;
pSegment
->
flags
|=
NE_SEGFLAGS_ALLOCATED
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment