Core/HardwareInfo: Improve accuracy under Windows

(I don't think this will change a thing but let's follow the spec
anyway)


Former-commit-id: 882225b4caf46cc0a34643d6a55d5f818f7f36b5
This commit is contained in:
Lynix 2015-05-19 13:52:34 +02:00
parent 16a304b471
commit c3e5a7defc
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ unsigned int NzHardwareInfoImpl::GetProcessorCount()
{ {
// Plus simple (et plus portable) que de passer par le CPUID // Plus simple (et plus portable) que de passer par le CPUID
SYSTEM_INFO infos; SYSTEM_INFO infos;
GetSystemInfo(&infos); GetNativeSystemInfo(&infos);
return infos.dwNumberOfProcessors; return infos.dwNumberOfProcessors;
} }