mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-01-31 01:20:46 +01:00
DroidFish: Use 'M' prefix for NPS values larger than 1e8.
This commit is contained in:
parent
92cd27724a
commit
b8aaa215d3
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user