mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 16:41:09 +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 errorstring;
|
||||||
|
|
||||||
std::string mcpu = sys::getHostCPUName();
|
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
|
mcpu = "westmere"; // Pentium G840 is misdetected as a sandy bridge CPU
|
||||||
|
|
||||||
if (stricmp(llvm_cpu, "auto") != 0)
|
if (stricmp(llvm_cpu, "auto") != 0)
|
||||||
|
|
Loading…
Reference in a new issue