add xeon model check for old cpus

matches everything up to and including broadwell
tests: https://regex101.com/r/WNnROT/1
This commit is contained in:
13xforever 2022-12-07 14:34:33 +05:00
parent 5a802a5b08
commit 4eb701290a
No known key found for this signature in database
GPG Key ID: 2B2A36B482FE70C5

View File

@ -224,6 +224,7 @@ internal static partial class LogParserResult
|| cpu.EndsWith('M')
|| cpu.Contains('Y')
|| cpu[^2] == 'G'
|| Regex.IsMatch(cpu, @"Xeon (([EXLW]C?|LV )?\d+|(E\d|AWS)-\d+\w?( (v[2-4]|0))?|D-1.+)( \(ES\))?$", DefaultSingleLine)
|| threadCount < 6))
notes.Add("⚠ This CPU is too weak and/or too old for PS3 emulation");
}