mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
Add DroidFish modifications to Stockfish
This commit is contained in:
parent
1a81595361
commit
0d28f4aad8
|
@ -113,6 +113,8 @@ namespace Eval {
|
||||||
currentEvalFileName = eval_file;
|
currentEvalFileName = eval_file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (currentEvalFileName != eval_file)
|
||||||
|
currentEvalFileName = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// NNUE::verify() verifies that the last net used was loaded successfully
|
/// NNUE::verify() verifies that the last net used was loaded successfully
|
||||||
|
|
|
@ -471,6 +471,8 @@ TBTables TBTables;
|
||||||
// If the corresponding file exists two new objects TBTable<WDL> and TBTable<DTZ>
|
// 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.
|
// are created and added to the lists and hash table. Called at init time.
|
||||||
void TBTables::add(const std::vector<PieceType>& pieces) {
|
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;
|
std::string code;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user