X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=0b3e3a51ddc92fb60c55ede46d6e69349cf4cf49;hp=b195b871346cdd4b03a331a685a19d5294cf3969;hb=c0bb0415394179e9c771cc96a9da6724fc14c167;hpb=369eff437cc081eb4b8ab5f519cf3f86b79e87d0 diff --git a/src/uci.cpp b/src/uci.cpp index b195b871..0b3e3a51 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -29,6 +29,7 @@ #include "thread.h" #include "timeman.h" #include "uci.h" +#include "syzygy/tbprobe.h" using namespace std; @@ -186,6 +187,7 @@ void UCI::loop(int argc, char* argv[]) { else if (token == "ucinewgame") { Search::clear(); + Tablebases::init(Options["SyzygyPath"]); Time.availableNodes = 0; } else if (token == "isready") sync_cout << "readyok" << sync_endl;