Force cpu_model_lower to actually check if its actually lower
This commit is contained in:
parent
eacab99578
commit
8c617f8b40
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ namespace HarmonyLinkLib
|
||||||
if (const std::shared_ptr<FCPUInfo> cpu_info = get_cpu_info()) {
|
if (const std::shared_ptr<FCPUInfo> cpu_info = get_cpu_info()) {
|
||||||
const FString cpu_model_lower = FString::to_lower(cpu_info->Model_Name);
|
const FString cpu_model_lower = FString::to_lower(cpu_info->Model_Name);
|
||||||
for (const auto& model : steam_deck_models) {
|
for (const auto& model : steam_deck_models) {
|
||||||
if (cpu_model_lower == model) {
|
if (cpu_model_lower == FString::to_lower(model.c_str())) {
|
||||||
wprintf(L"Steam Deck detected by CPU model name.\n");
|
wprintf(L"Steam Deck detected by CPU model name.\n");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue