Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
142d94e5
Commit
142d94e5
authored
25 years ago
by
Marcus Meissner
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes
BLINKER selfextracting executables).
parent
3336f485
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
if1632/wprocs.spec
+1
-1
1 addition, 1 deletion
if1632/wprocs.spec
loader/ne/module.c
+6
-0
6 additions, 0 deletions
loader/ne/module.c
with
7 additions
and
1 deletion
if1632/wprocs.spec
+
1
−
1
View file @
142d94e5
...
...
@@ -2,7 +2,7 @@ name wprocs
type win16
23 pascal UTGlue16(ptr long ptr long) UTGlue16
27 pascal EntryAddrProc(word word) NE_GetEntryPoint
27 pascal EntryAddrProc(word word)
WIN16_
NE_GetEntryPoint
28 pascal MyAlloc(word word word) NE_AllocateSegment
# Interrupt vectors 0-255 are ordinals 100-355
...
...
This diff is collapsed.
Click to expand it.
loader/ne/module.c
+
6
−
0
View file @
142d94e5
...
...
@@ -285,6 +285,12 @@ WORD NE_GetOrdinal( HMODULE16 hModule, const char *name )
*
* Return the entry point for a given ordinal.
*/
FARPROC16
WINAPI
WIN16_NE_GetEntryPoint
(
HMODULE16
hModule
,
WORD
ordinal
)
{
FARPROC16
ret
=
NE_GetEntryPointEx
(
hModule
,
ordinal
,
TRUE
);
CURRENT_STACK16
->
ecx
=
hModule
;
/* FIXME: might be incorrect value */
return
ret
;
}
FARPROC16
WINAPI
NE_GetEntryPoint
(
HMODULE16
hModule
,
WORD
ordinal
)
{
return
NE_GetEntryPointEx
(
hModule
,
ordinal
,
TRUE
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment