I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 330f1f34 authored by dev's avatar dev
Browse files

Fixes to Atom identification.

parent c6a2e99a
No related branches found
No related tags found
No related merge requests found
...@@ -326,10 +326,10 @@ public class CPUID { ...@@ -326,10 +326,10 @@ public class CPUID {
public boolean IsPentium3Compatible() public boolean IsPentium3Compatible()
{ {
// Atom // Atom
if (getCPUExtendedModel() == 1 && (getCPUFamily() == 6 && (getCPUModel() == 10))){ if (getCPUExtendedModel() == 1 && (getCPUFamily() == 6 && (getCPUModel() == 12))){
return true; return true;
// ?? // ??
} else if (getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=7)){ } else if (getCPUExtendedModel() == 0 && (getCPUFamily() > 6 || (getCPUFamily() == 6 && getCPUModel() >=7))){
return true; return true;
} else { } else {
return false; return false;
...@@ -337,13 +337,13 @@ public class CPUID { ...@@ -337,13 +337,13 @@ public class CPUID {
} }
public boolean IsPentium4Compatible() public boolean IsPentium4Compatible()
{ {
// P4 // P4
if (getCPUFamily() >= 15){ if (getCPUFamily() >= 15){
return true; return true;
// Xeon MP (45nm) or Core i7 // Xeon MP (45nm) or Core i7
} else if (getCPUExtendedModel() == 1 && (getCPUFamily() == 6 && (getCPUModel() == 10 || getCPUModel() == 13))){ } else if (getCPUExtendedModel() == 1 && (getCPUFamily() == 6 && (getCPUModel() == 10 || getCPUModel() == 13))){
return true; return true;
// Core 2 Duo // Core 2 Duo
} else if (getCPUExtendedModel() == 0 && getCPUFamily() == 6 && getCPUModel() == 15){ } else if (getCPUExtendedModel() == 0 && getCPUFamily() == 6 && getCPUModel() == 15){
return true; return true;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment