Show cores correctly on ARM64.

This commit is contained in:
Unknown W. Brackets committed 2015-06-26 21:39:48 -07:00
1 parent b3aa6d89e9
commit 75c86c95a0
1 file changed
+1 -1
+1 -1
View File
@@ -325,7 +325,7 @@ void SystemInfoScreen::CreateViews() {
deviceSpecs->Add(new InfoItem("ABI", GetCompilerABI()));
deviceSpecs->Add(new ItemHeader("CPU Information"));
deviceSpecs->Add(new InfoItem("Name", cpu_info.brand_string));
#ifdef ARM
#if defined(ARM) || defined(ARM64) || defined(MIPS)
deviceSpecs->Add(new InfoItem("Cores", StringFromInt(cpu_info.num_cores)));
#else
int totalThreads = cpu_info.num_cores * cpu_info.logical_cpu_count;