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
a2fe8ebe
Commit
a2fe8ebe
authored
Nov 24, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: [QF]T_Thunk should clear HIWORD(EAX) on return.
Bugfix: hack for stupid USER32 CallbackGlueLS routine in Common32ThkLS.
parent
077da06e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
kernel32.c
win32/kernel32.c
+6
-0
No files found.
win32/kernel32.c
View file @
a2fe8ebe
...
...
@@ -263,6 +263,7 @@ REGS_ENTRYPOINT(QT_Thunk)
EAX_reg
(
context
)
=
Callbacks
->
CallRegisterShortProc
(
&
context16
,
argsize
);
EDX_reg
(
context
)
=
HIWORD
(
EAX_reg
(
context
));
EAX_reg
(
context
)
=
LOWORD
(
EAX_reg
(
context
));
}
...
...
@@ -392,6 +393,7 @@ REGS_ENTRYPOINT(FT_Thunk)
EAX_reg
(
context
)
=
Callbacks
->
CallRegisterShortProc
(
&
context16
,
argsize
);
EDX_reg
(
context
)
=
HIWORD
(
EAX_reg
(
context
));
EAX_reg
(
context
)
=
LOWORD
(
EAX_reg
(
context
));
}
/**********************************************************************
...
...
@@ -565,6 +567,10 @@ REGS_ENTRYPOINT(Common32ThkLS)
argsize
=
HIWORD
(
EDX_reg
(
context
))
*
4
;
/* FIXME: hack for stupid USER32 CallbackGlueLS routine */
if
(
EDX_reg
(
context
)
==
EIP_reg
(
context
))
argsize
=
6
*
4
;
memcpy
(
((
LPBYTE
)
THREAD_STACK16
(
thdb
))
-
argsize
,
(
LPBYTE
)
ESP_reg
(
context
)
+
4
,
argsize
);
...
...
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