Add a non-tiny warning about CPUs that will silently desync.

This commit is contained in:
comex
2013-12-16 22:41:52 -05:00
parent d619ccee21
commit 1b617c736c
4 changed files with 16 additions and 0 deletions

View File

@ -279,3 +279,8 @@ std::string CPUInfo::Summarize()
return sum;
}
bool CPUInfo::IsUnsafe()
{
return false;
}

View File

@ -77,6 +77,7 @@ struct CPUInfo
// Turn the cpu info into a string we can show
std::string Summarize();
bool IsUnsafe();
private:
// Detects the various cpu features

View File

@ -267,3 +267,8 @@ std::string CPUInfo::Summarize()
if (bLongMode) sum += ", 64-bit support";
return sum;
}
bool CPUInfo::IsUnsafe()
{
return !bFlushToZero;
}