Fix misleading P4 warning message appearing even in case of match.
This commit is contained in:
parent
649637f53f
commit
e8f90883d8
13
misc/cpu.c
13
misc/cpu.c
|
@ -121,12 +121,13 @@ VOID WINAPI GetSystemInfo(
|
|||
cachedsi.wProcessorLevel= 5;
|
||||
break;
|
||||
case 1: /* two-figure levels */
|
||||
switch (value[1] - '0') {
|
||||
case 5: /* P4; FIXME: data correct ? */
|
||||
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
||||
cachedsi.wProcessorLevel= 5;
|
||||
break;
|
||||
} /* fall through to prev. default */
|
||||
if (value[1] == '5')
|
||||
{
|
||||
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
||||
cachedsi.wProcessorLevel= 5;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue