From 10e9c6bfd17b05dbd7a98fa5f7ee3422bee7995a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 30 Mar 2008 00:44:19 +0100 Subject: [PATCH] kernel32: Set processorLevel to cpu family. --- dlls/kernel32/cpu.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index a2ecb344f79..a49df99a990 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -454,19 +454,10 @@ VOID WINAPI GetSystemInfo( case 5: cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; cachedsi.wProcessorLevel= 5; 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: - FIXME("unknown cpu family '%s', please report ! (-> setting to 386)\n", value); + cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM; + cachedsi.wProcessorLevel = atoi(value); break; } }