DroidFish: Use 'M' prefix for NPS values larger than 1e8.

This commit is contained in:
Peter Osterlund 2017-04-22 07:32:13 +02:00
parent 92cd27724a
commit b8aaa215d3

View File

@ -755,7 +755,10 @@ public class DroidChessController {
}
int nps = currNps;
String npsPrefix = "";
if (nps > 100000) {
if (nps > 100000000) {
nps /= 1000000;
npsPrefix = "M";
} else if (nps > 100000) {
nps /= 1000;
npsPrefix = "k";
}