Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1b7c292d
Commit
1b7c292d
authored
Apr 30, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Compare against the correct constants in GetNativeSystemInfo().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51082
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7cdb88a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
memory.c
dlls/kernelbase/memory.c
+3
-3
No files found.
dlls/kernelbase/memory.c
View file @
1b7c292d
...
...
@@ -81,16 +81,16 @@ void WINAPI DECLSPEC_HOTPATCH GetNativeSystemInfo( SYSTEM_INFO *si )
if
(
!
current_machine
)
return
;
switch
(
native_machine
)
{
case
PROCESSOR_ARCHITECTUR
E_AMD64
:
case
IMAGE_FILE_MACHIN
E_AMD64
:
si
->
u
.
s
.
wProcessorArchitecture
=
PROCESSOR_ARCHITECTURE_AMD64
;
si
->
dwProcessorType
=
PROCESSOR_AMD_X8664
;
break
;
case
PROCESSOR_ARCHITECTUR
E_ARM64
:
case
IMAGE_FILE_MACHIN
E_ARM64
:
si
->
u
.
s
.
wProcessorArchitecture
=
PROCESSOR_ARCHITECTURE_ARM64
;
si
->
dwProcessorType
=
0
;
break
;
default:
FIXME
(
"Add the proper information for %
d in wow64 mode
\n
"
,
si
->
u
.
s
.
wProcessorArchitectur
e
);
FIXME
(
"Add the proper information for %
x in wow64 mode
\n
"
,
native_machin
e
);
}
}
...
...
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