From c3e5a7defcb8209adf4b4d15a7ec3af15e2546d0 Mon Sep 17 00:00:00 2001 From: Lynix Date: Tue, 19 May 2015 13:52:34 +0200 Subject: [PATCH] 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 --- src/Nazara/Core/Win32/HardwareInfoImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp index 9eb37c232..5d2c74e50 100644 --- a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp +++ b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp @@ -33,7 +33,7 @@ unsigned int NzHardwareInfoImpl::GetProcessorCount() { // Plus simple (et plus portable) que de passer par le CPUID SYSTEM_INFO infos; - GetSystemInfo(&infos); + GetNativeSystemInfo(&infos); return infos.dwNumberOfProcessors; }