mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Oops, forced all sandy bridge CPUs to westmere instead of just Pentium G840
This commit is contained in:
parent
70d4097b34
commit
aad2cde332
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ void LLVMProgram::CreateEE()
|
|||
std::string errorstring;
|
||||
|
||||
std::string mcpu = sys::getHostCPUName();
|
||||
if (std::string(CPU.CPUString).find("G840") && mcpu == "sandybridge")
|
||||
if (std::string(CPU.CPUString).find("G840") != std::string::npos && mcpu == "sandybridge")
|
||||
mcpu = "westmere"; // Pentium G840 is misdetected as a sandy bridge CPU
|
||||
|
||||
if (stricmp(llvm_cpu, "auto") != 0)
|
||||
|
|
Loading…
Reference in a new issue