mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +00:00
macos platform fixes for intel macs
This commit is contained in:
parent
433d32f237
commit
7cb306b65a
6 changed files with 132 additions and 885 deletions
|
|
@ -29,13 +29,10 @@ namespace CPUInfo
|
|||
{
|
||||
enum EConfig
|
||||
{
|
||||
CONFIG_UserConfigIssue,
|
||||
CONFIG_SingleCoreHTEnabled,
|
||||
CONFIG_SingleCoreHTDisabled,
|
||||
CONFIG_SingleCoreAndHTNotCapable,
|
||||
CONFIG_MultiCoreAndHTNotCapable,
|
||||
CONFIG_MultiCoreAndHTEnabled,
|
||||
CONFIG_MultiCoreAndHTDisabled,
|
||||
};
|
||||
|
||||
inline bool isMultiCore( EConfig config )
|
||||
|
|
@ -44,7 +41,6 @@ namespace CPUInfo
|
|||
{
|
||||
case CONFIG_MultiCoreAndHTNotCapable:
|
||||
case CONFIG_MultiCoreAndHTEnabled:
|
||||
case CONFIG_MultiCoreAndHTDisabled:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
|
@ -65,11 +61,10 @@ namespace CPUInfo
|
|||
}
|
||||
}
|
||||
|
||||
EConfig CPUCount( U32& totalAvailableLogical,
|
||||
U32& totalAvailableCores,
|
||||
U32& numPhysical );
|
||||
|
||||
EConfig CPUCount( U32& totalAvailableLogical, U32& totalAvailableCores );
|
||||
} // namespace CPUInfo
|
||||
|
||||
void SetProcessoInfo(Platform::SystemInfo_struct::Processor& pInfo, char* vendor, char* brand);
|
||||
|
||||
#endif // _TORQUE_PLATFORM_PLATFORMCOUNT_H_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue