X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=75cdfc837c94d084b6bbb5e00a21b754168bba03;hp=063ce76e3503d8b6e27107444c7548fb69e8ce84;hb=750dfa0521472e86c67f870fe7ca413d670cafe2;hpb=7edd1f7ccd500ad3fb6959ca18415ed4b8808313 diff --git a/src/main.cpp b/src/main.cpp index 063ce76e..75cdfc83 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,7 @@ #include "position.h" #include "search.h" #include "thread.h" +#include "tt.h" #include "uci.h" #include "syzygy/tbprobe.h" @@ -42,7 +43,10 @@ int main(int argc, char* argv[]) { Bitbases::init(); Search::init(); Pawns::init(); + Tablebases::init(Options["SyzygyPath"]); + TT.resize(Options["Hash"]); Threads.init(); + Search::clear(); // After threads are up UCI::loop(argc, argv);