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
1456b31e
Commit
1456b31e
authored
Feb 08, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use the current machine by default to create an ARM64X process.
parent
de988eee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
loader.c
dlls/ntdll/unix/loader.c
+2
-1
process.c
dlls/ntdll/unix/process.c
+6
-1
No files found.
dlls/ntdll/unix/loader.c
View file @
1456b31e
...
...
@@ -480,7 +480,8 @@ char *get_alternate_wineloader( WORD machine )
if
(
machine
==
current_machine
)
return
NULL
;
if
(
machine
==
IMAGE_FILE_MACHINE_AMD64
)
/* try the 64-bit loader */
/* try the 64-bit loader */
if
(
current_machine
==
IMAGE_FILE_MACHINE_I386
&&
machine
==
IMAGE_FILE_MACHINE_AMD64
)
{
size_t
len
=
strlen
(
wineloader
);
...
...
dlls/ntdll/unix/process.c
View file @
1456b31e
...
...
@@ -801,7 +801,12 @@ NTSTATUS WINAPI NtCreateUserProcess( HANDLE *process_handle_ptr, HANDLE *thread_
}
goto
done
;
}
if
(
!
machine
)
machine
=
pe_info
.
machine
;
if
(
!
machine
)
{
machine
=
pe_info
.
machine
;
if
(
is_arm64ec
()
&&
pe_info
.
is_hybrid
&&
machine
==
IMAGE_FILE_MACHINE_ARM64
)
machine
=
main_image_info
.
Machine
;
}
if
(
!
(
startup_info
=
create_startup_info
(
attr
.
ObjectName
,
process_flags
,
params
,
&
pe_info
,
&
startup_info_size
)))
goto
done
;
env_size
=
get_env_size
(
params
,
&
winedebug
);
...
...
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