mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
WinAPI: Avoid sign-extension of processor count in GetSystemInfo
This commit is contained in:
1 parent
dd5c17291a
commit
a71a0ed137
1 file changed
+1
-1
@@ -69,7 +69,7 @@ DLLEXPORT_FUNC(void, GetSystemInfo, (LPSYSTEM_INFO lpSystemInfo)) {
|
||||
.lpMinimumApplicationAddress = reinterpret_cast<void*>(Info.LowestUserAddress),
|
||||
.lpMaximumApplicationAddress = reinterpret_cast<void*>(Info.HighestUserAddress),
|
||||
.dwActiveProcessorMask = Info.ActiveProcessors,
|
||||
.dwNumberOfProcessors = static_cast<DWORD>(Info.NumberOfProcessors),
|
||||
.dwNumberOfProcessors = static_cast<BYTE>(Info.NumberOfProcessors),
|
||||
.dwProcessorType = 0,
|
||||
.dwAllocationGranularity = Info.AllocationGranularity,
|
||||
.wProcessorLevel = 0,
|
||||
|
||||
Reference in new issue
Block a user