Prevent "CPUs before Ryzen" message for Steam Deck

This commit is contained in:
z0z0z 2022-08-18 02:31:35 +00:00
parent bb67ab4061
commit 724c365d67

View File

@ -192,13 +192,14 @@ internal static partial class LogParserResult
{
if (cpu.StartsWith("AMD"))
{
if (cpu.Contains("Ryzen"))
if (cpu.Contains("Ryzen") || cpu.Contains("Custom APU"))
{
if (threadCount < 12)
notes.Add("⚠ Six cores or more is recommended for Ryzen CPUs");
if (cpu.EndsWith('U')
|| cpu.EndsWith('H')
|| cpu.EndsWith("HS"))
|| cpu.EndsWith("HS")
|| cpu.Contains("Custom APU"))
notes.Add("⚠ Mobile Ryzen CPUs are only recommended for lighter games.");
}
else
@ -777,4 +778,4 @@ internal static partial class LogParserResult
}
return (true, false, longestPath);
}
}
}