From 29b5d5b8f5960bc7a5777aef72127b2b68ac675c Mon Sep 17 00:00:00 2001 From: atmos4 Date: Sun, 28 Sep 2003 01:45:54 +0000 Subject: more exact cpu mhz detect for fats cpus (remove rounding) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10956 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpudetect.c b/cpudetect.c index 7a4a1d2206..c5b3ffafc7 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -257,7 +257,7 @@ char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){ i += 50; /* for rounding */ snprintf(cpuspeed,15, " %d.%d MHz", i/1000, (i/100)%10); } else { - i += 500; /* for rounding */ + //i += 500; /* for rounding */ snprintf(cpuspeed,15, " %d MHz", i/1000); } } else { /* No TSC Support */ -- cgit v1.2.3