André Hentschel : ntdll: Parse ARM CPU level.
Alexandre Julliard
julliard at winehq.org
Thu Jun 16 14:28:47 CDT 2011
Module: wine
Branch: master
Commit: 3eb91fbc3c3c501f2a3ff094d4da7fa75c1294fd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3eb91fbc3c3c501f2a3ff094d4da7fa75c1294fd
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jun 15 20:52:33 2011 +0200
ntdll: Parse ARM CPU level.
---
dlls/ntdll/nt.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 316e9f6..f9302c1 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -990,11 +990,12 @@ void fill_cpu_info(void)
continue;
}
- /* 2.1 method */
- if (!strcasecmp(line, "cpu family"))
+ /* 2.1 and ARM method */
+ if (!strcasecmp(line, "cpu family") || !strcasecmp(line, "CPU architecture"))
{
if (isdigit(value[0]))
{
+ value[1] = '\0'; /* Make sure we only get one character */
cached_sci.Level = atoi(value);
}
continue;
More information about the wine-cvs
mailing list