Fixed Nazara compilation on 64bits compiler
Former-commit-id: 5b9d8208691c34e30f4184c6a35f82a690c221f5
This commit is contained in:
parent
229f634e01
commit
abb2db1c7d
|
|
@ -37,6 +37,9 @@ unsigned int NzHardwareInfoImpl::GetProcessorCount()
|
|||
|
||||
bool NzHardwareInfoImpl::IsCpuidSupported()
|
||||
{
|
||||
#ifdef NAZARA_PLATFORM_x64
|
||||
return true; // Toujours supporté sur un processeur 64 bits
|
||||
#else
|
||||
#if defined(NAZARA_COMPILER_MSVC)
|
||||
int supported;
|
||||
__asm
|
||||
|
|
@ -78,4 +81,5 @@ bool NzHardwareInfoImpl::IsCpuidSupported()
|
|||
#else
|
||||
return false;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue