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
c98d0eaa
Commit
c98d0eaa
authored
Jan 23, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Jan 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Only build the main module and ntdll once on Wow64.
Fixes +relay for applications that use multiple threads when running in new Wow64.
parent
fe880597
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
loader.c
dlls/ntdll/loader.c
+3
-3
No files found.
dlls/ntdll/loader.c
View file @
c98d0eaa
...
...
@@ -4131,9 +4131,6 @@ void (WINAPI *pWow64PrepareForException)( EXCEPTION_RECORD *rec, CONTEXT *contex
static
void
init_wow64
(
CONTEXT
*
context
)
{
build_wow64_main_module
();
build_ntdll_module
();
if
(
!
imports_fixup_done
)
{
HMODULE
wow64
;
...
...
@@ -4141,6 +4138,9 @@ static void init_wow64( CONTEXT *context )
NTSTATUS
status
;
static
const
WCHAR
wow64_path
[]
=
L"C:
\\
windows
\\
system32
\\
wow64.dll"
;
build_wow64_main_module
();
build_ntdll_module
();
if
((
status
=
load_dll
(
NULL
,
wow64_path
,
0
,
&
wm
,
FALSE
)))
{
ERR
(
"could not load %s, status %lx
\n
"
,
debugstr_w
(
wow64_path
),
status
);
...
...
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