Core/HardwareInfo: Added GetTotalMemory

Former-commit-id: 71289723115161dd253ccb65c1c91af65344c678
This commit is contained in:
Lynix
2015-05-19 14:13:48 +02:00
parent c3e5a7defc
commit 90e4a1ca52
7 changed files with 28 additions and 2 deletions

View File

@@ -116,6 +116,13 @@ NzString NzHardwareInfo::GetProcessorVendorName()
return vendorNames[s_vendorEnum+1];
}
nzUInt64 NzHardwareInfo::GetTotalMemory()
{
///DOC: Ne nécessite pas l'initialisation de HardwareInfo pour fonctionner
static nzUInt64 totalMemory = NzHardwareInfoImpl::GetTotalMemory();
return totalMemory;
}
bool NzHardwareInfo::HasCapability(nzProcessorCap capability)
{
#ifdef NAZARA_DEBUG