kernel32: Set processorLevel to cpu family.
This commit is contained in:
parent
76014205de
commit
10e9c6bfd1
|
@ -454,19 +454,10 @@ VOID WINAPI GetSystemInfo(
|
||||||
case 5: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
case 5: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
||||||
cachedsi.wProcessorLevel= 5;
|
cachedsi.wProcessorLevel= 5;
|
||||||
break;
|
break;
|
||||||
case 6: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
|
||||||
cachedsi.wProcessorLevel= 6;
|
|
||||||
break;
|
|
||||||
case 1: /* two-figure levels */
|
|
||||||
if (value[1] == '5')
|
|
||||||
{
|
|
||||||
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
|
||||||
cachedsi.wProcessorLevel= 6;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
/* fall through */
|
|
||||||
default:
|
default:
|
||||||
FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value);
|
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
||||||
|
cachedsi.wProcessorLevel = atoi(value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue