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
de81e2ea
Commit
de81e2ea
authored
Oct 06, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Only create the main module on the 32-bit side for wow64.
parent
93a5dce0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
loader.c
dlls/ntdll/loader.c
+3
-5
No files found.
dlls/ntdll/loader.c
View file @
de81e2ea
...
...
@@ -4219,16 +4219,13 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR
init_user_process_params
();
load_global_options
();
version_init
();
build_ntdll_module
(
meminfo
.
AllocationBase
);
get_env_var
(
L"WINESYSTEMDLLPATH"
,
0
,
&
system_dll_path
);
if
(
NtCurrentTeb
()
->
WowTebOffset
)
init_wow64
(
context
);
wm
=
build_main_module
();
wm
->
ldr
.
LoadCount
=
-
1
;
build_ntdll_module
(
meminfo
.
AllocationBase
);
if
(
NtCurrentTeb
()
->
WowTebOffset
)
init_wow64
(
context
);
if
((
status
=
load_dll
(
NULL
,
L"kernel32.dll"
,
0
,
&
kernel32
,
FALSE
))
!=
STATUS_SUCCESS
)
{
MESSAGE
(
"wine: could not load kernel32.dll, status %lx
\n
"
,
status
);
...
...
@@ -4245,6 +4242,7 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR
actctx_init
();
locale_init
();
get_env_var
(
L"WINESYSTEMDLLPATH"
,
0
,
&
system_dll_path
);
if
(
wm
->
ldr
.
Flags
&
LDR_COR_ILONLY
)
status
=
fixup_imports_ilonly
(
wm
,
NULL
,
entry
);
else
...
...
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