diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-10-25 09:14:14 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-10-25 09:14:14 -0500 |
| commit | b66a7f83c26a9a8f00c5c55f4c4d7ce6db9b71e7 (patch) | |
| tree | 42fb11a9b9a9905c6943c233443b68c88d5e02c0 /Source/Core/Common/ArmCPUDetect.cpp | |
| parent | e780a49a069d15cef8d4d074921ef55288ec071f (diff) | |
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'
Diffstat (limited to 'Source/Core/Common/ArmCPUDetect.cpp')
| -rw-r--r-- | Source/Core/Common/ArmCPUDetect.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/Common/ArmCPUDetect.cpp b/Source/Core/Common/ArmCPUDetect.cpp index 7935577ebc..f673383f43 100644 --- a/Source/Core/Common/ArmCPUDetect.cpp +++ b/Source/Core/Common/ArmCPUDetect.cpp @@ -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; } } |
