Add DroidFish modifications to Stockfish

This commit is contained in:
Peter Osterlund 2021-07-02 20:59:36 +02:00
parent 07931e96a5
commit 523b2e67f3
2 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,8 @@ namespace Eval {
currentEvalFileName = eval_file;
}
}
if (currentEvalFileName != eval_file)
currentEvalFileName = "";
}
/// NNUE::verify() verifies that the last net used was loaded successfully

View File

@ -472,6 +472,8 @@ TBTables TBTables;
// If the corresponding file exists two new objects TBTable<WDL> and TBTable<DTZ>
// are created and added to the lists and hash table. Called at init time.
void TBTables::add(const std::vector<PieceType>& pieces) {
if (sizeof(char*) < 8 && pieces.size() >= 6)
return; // Not enough address space to support 6-men TB on 32-bit OS
std::string code;