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( ...@@ -121,12 +121,13 @@ VOID WINAPI GetSystemInfo(
cachedsi.wProcessorLevel= 5; cachedsi.wProcessorLevel= 5;
break; break;
case 1: /* two-figure levels */ case 1: /* two-figure levels */
switch (value[1] - '0') { if (value[1] == '5')
case 5: /* P4; FIXME: data correct ? */ {
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
cachedsi.wProcessorLevel= 5; cachedsi.wProcessorLevel= 5;
break; break;
} /* fall through to prev. default */ }
/* fall through */
default: default:
FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value); FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value);
break; 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