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
This commit is contained in:
atmos4 2003-09-28 01:45:54 +00:00
parent 2940c3fa9b
commit 29b5d5b8f5
1 changed files with 1 additions and 1 deletions

View File

@ -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 */