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
3c717e43
Commit
3c717e43
authored
Jul 03, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jul 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: TASK_CallToStart didn't pass correct hInstance to app.
parent
fbea5308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
task.c
loader/task.c
+3
-2
No files found.
loader/task.c
View file @
3c717e43
...
...
@@ -251,12 +251,13 @@ void TASK_CallToStart(void)
memset
(
&
context
,
0
,
sizeof
(
context
)
);
CS_reg
(
&
context
)
=
GlobalHandleToSel16
(
pSegTable
[
pModule
->
cs
-
1
].
hSeg
);
DS_reg
(
&
context
)
=
GlobalHandleToSel16
(
p
SegTable
[
pModule
->
dgroup
-
1
].
hSeg
);
DS_reg
(
&
context
)
=
GlobalHandleToSel16
(
p
Task
->
hInstance
);
ES_reg
(
&
context
)
=
pTask
->
hPDB
;
EIP_reg
(
&
context
)
=
pModule
->
ip
;
EBX_reg
(
&
context
)
=
pModule
->
stack_size
;
ECX_reg
(
&
context
)
=
pModule
->
heap_size
;
EDI_reg
(
&
context
)
=
context
.
SegDs
;
EDI_reg
(
&
context
)
=
pTask
->
hInstance
;
ESI_reg
(
&
context
)
=
pTask
->
hPrevInstance
;
TRACE_
(
task
)(
"Starting main program: cs:ip=%04lx:%04x ds=%04lx ss:sp=%04x:%04x
\n
"
,
CS_reg
(
&
context
),
IP_reg
(
&
context
),
DS_reg
(
&
context
),
...
...
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