Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
temporary allow some blacklisted intel cpus from #5
Browse files Browse the repository at this point in the history
  • Loading branch information
mq1n committed Jul 2, 2021
1 parent 7feeaad commit 8f59d05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int main(int, char* argv[])
if (sysInfo.wProcessorLevel == 6)
{
if ((dwRevision < 0x5F && dwRevision != 85) ||
(dwRevision == 142 && byRevision == 9) ||
// (dwRevision == 142 && byRevision == 9) ||
(dwRevision == 158 && byRevision == 9))
{
std::cerr << "Unsupported Intel CPU detected!" << std::endl;
Expand Down Expand Up @@ -343,7 +343,7 @@ int main(int, char* argv[])
std::cout << "Disk check passed!" << std::endl;
}

// 720p display, 9”, 8 BPC
// 720p display, 9”, 8 BPC
{
std::cout << "Resolution checking..." << std::endl;

Expand Down Expand Up @@ -480,7 +480,7 @@ int main(int, char* argv[])
// Check size
if (dDisplayInches >= 9)
{
std::cout << "\tAvailable display device with size: " << std::to_string(dDisplayInches) << "” detected!" << std::endl;
std::cout << "\tAvailable display device with size: " << std::to_string(dDisplayInches) << "” detected!" << std::endl;
bHasCompatibleDisplay = true;
break;
}
Expand All @@ -492,7 +492,7 @@ int main(int, char* argv[])

if (!vDisplayDevRegDir.empty() && !bHasCompatibleDisplay)
{
std::cerr << "9” or greater display device does not exist!" << std::endl;
std::cerr << "9” or greater display device does not exist!" << std::endl;
std::system("PAUSE");
return EXIT_FAILURE;
}
Expand Down

0 comments on commit 8f59d05

Please sign in to comment.