New Tegra detector with Android 4.3 support added. Manager version++.

This commit is contained in:
Alexander Smorkalov
2013-08-23 17:37:43 +04:00
parent 7cefb6f50b
commit aa00b5a0ab
7 changed files with 50 additions and 77 deletions

View File

@@ -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)
{