kernel32: Fix the system affinity returned by GetProcessAffinityMask.
This commit is contained in:
parent
aaf02c6f4a
commit
9261c63ab3
|
@ -2719,8 +2719,7 @@ BOOL WINAPI GetProcessAffinityMask( HANDLE hProcess,
|
|||
return FALSE;
|
||||
}
|
||||
if (lpProcessAffinityMask) *lpProcessAffinityMask = pbi.AffinityMask;
|
||||
/* FIXME */
|
||||
if (lpSystemAffinityMask) *lpSystemAffinityMask = 1;
|
||||
if (lpSystemAffinityMask) *lpSystemAffinityMask = (1 << NtCurrentTeb()->Peb->NumberOfProcessors) - 1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue