Commit e8f90883 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Fix misleading P4 warning message appearing even in case of match.

parent 649637f5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment