summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-28 01:45:54 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-28 01:45:54 +0000
commit29b5d5b8f5960bc7a5777aef72127b2b68ac675c (patch)
tree73bd9dc7ec149b5e630e78fcdac510fc366b30a4 /cpudetect.c
parent2940c3fa9b7ecafbb330b73bfe0c07cc08889582 (diff)
downloadmpv-29b5d5b8f5960bc7a5777aef72127b2b68ac675c.tar.bz2
mpv-29b5d5b8f5960bc7a5777aef72127b2b68ac675c.tar.xz
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
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c2
1 files changed, 1 insertions, 1 deletions
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 */