- // Check Tablebases at root
- int piecesCnt = RootPos.total_piece_count();
- TBCardinality = Options["SyzygyProbeLimit"];
- TBProbeDepth = Options["SyzygyProbeDepth"] * ONE_PLY;
- if (TBCardinality > Tablebases::TBLargest)
- {
- TBCardinality = Tablebases::TBLargest;
- TBProbeDepth = 0 * ONE_PLY;
- }
- TB50MoveRule = Options["Syzygy50MoveRule"];
-
- if (piecesCnt <= TBCardinality)