From b66a7f83c26a9a8f00c5c55f4c4d7ce6db9b71e7 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 25 Oct 2014 09:14:14 -0500 Subject: [PATCH] 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' --- Source/Core/Common/ArmCPUDetect.cpp | 1 - 1 file changed, 1 deletion(-) 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; } }