mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
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:
parent
e780a49a06
commit
b66a7f83c2
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue