mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
This commit is contained in:
parent
513789c2c7
commit
26fd24fbab
43 changed files with 35 additions and 356 deletions
|
|
@ -30,24 +30,7 @@
|
|||
#include "platform/platform.h"
|
||||
#include "platform/platformCPUCount.h"
|
||||
|
||||
#if defined(TORQUE_OS_LINUX) || defined(TORQUE_OS_OSX) || defined(TORQUE_OS_XENON) || defined(TORQUE_OS_PS3)
|
||||
|
||||
// Consoles don't need this
|
||||
#if defined(TORQUE_OS_XENON) || defined(TORQUE_OS_PS3)
|
||||
namespace CPUInfo
|
||||
{
|
||||
|
||||
EConfig CPUCount(U32& TotAvailLogical, U32& TotAvailCore, U32& PhysicalNum)
|
||||
{
|
||||
TotAvailLogical = 6;
|
||||
TotAvailCore = 6;
|
||||
PhysicalNum = 3;
|
||||
|
||||
return CONFIG_MultiCoreAndHTEnabled;
|
||||
}
|
||||
|
||||
}; // namespace
|
||||
#else
|
||||
#if defined(TORQUE_OS_LINUX) || defined(TORQUE_OS_MAC)
|
||||
|
||||
#ifdef TORQUE_OS_LINUX
|
||||
// The Linux source code listing can be compiled using Linux kernel verison 2.6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue