New Tegra detector with Android 4.3 support added. Manager version++.
This commit is contained in:
@@ -13,7 +13,7 @@ int GetCpuID()
|
||||
map<string, string> cpu_info = GetCpuInfo();
|
||||
map<string, string>::const_iterator it;
|
||||
|
||||
#if defined(__i386__)
|
||||
#if defined(__i386__)
|
||||
LOGD("Using X86 HW detector");
|
||||
result |= ARCH_X86;
|
||||
it = cpu_info.find("flags");
|
||||
@@ -161,8 +161,11 @@ int GetProcessorCount()
|
||||
|
||||
int DetectKnownPlatforms()
|
||||
{
|
||||
#if defined(__arm__) && defined(USE_TEGRA_HW_DETECTOR)
|
||||
int tegra_status = DetectTegra();
|
||||
|
||||
#else
|
||||
int tegra_status = NOT_TEGRA;
|
||||
#endif
|
||||
// All Tegra platforms since Tegra3
|
||||
if (2 < tegra_status)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user