Fixes ARM CPU detection routine for the hardware.

We weren't dropping a newline character from the string, we were cutting off the last character of the hardware name.
This fixes my TK1 being called 'lagun' when it's name is 'laguna'
This commit is contained in:
Ryan Houdek 2014-10-25 09:14:14 -05:00
parent e780a49a06
commit b66a7f83c2
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ static std::string GetCPUString()
if (line.find(marker) != std::string::npos)
{
cpu_string = line.substr(marker.length());
cpu_string.pop_back(); // Drop the new-line character
break;
}
}