diff --git a/HarmonyLinkLib/src/Platform/IPlatformUtilities.cpp b/HarmonyLinkLib/src/Platform/IPlatformUtilities.cpp index ecfb670..0884ca1 100644 --- a/HarmonyLinkLib/src/Platform/IPlatformUtilities.cpp +++ b/HarmonyLinkLib/src/Platform/IPlatformUtilities.cpp @@ -199,7 +199,7 @@ namespace HarmonyLinkLib if (const std::shared_ptr cpu_info = get_cpu_info()) { const FString cpu_model_lower = FString::to_lower(cpu_info->Model_Name); 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"); return true; }