flutter: engine: Print search depth

This commit is contained in:
Calcitem 2021-04-10 09:38:57 +08:00
parent c213cb8957
commit 115a7c7897
1 changed files with 5 additions and 1 deletions

View File

@ -499,7 +499,7 @@ Depth getSearchDepth(const Position *pos)
d = placingDepthTable_12_special[index];
} else {
d = placingDepthTable_12[index];
}
}
} else {
assert(0 <= index && index <= 19);
d = placingDepthTable_9[index];
@ -573,6 +573,10 @@ Depth getSearchDepth(const Position *pos)
//loggerDebug("Depth: %d\n", d);
#ifdef FLUTTER_UI
LOGD("Search depth: %d\n", d);
#endif // FLUTTER_UI
return d;
}