diff --git a/DroidFishApp/src/main/cpp/stockfish/evaluate.cpp b/DroidFishApp/src/main/cpp/stockfish/evaluate.cpp index f975479..c83f0de 100644 --- a/DroidFishApp/src/main/cpp/stockfish/evaluate.cpp +++ b/DroidFishApp/src/main/cpp/stockfish/evaluate.cpp @@ -112,6 +112,8 @@ namespace Eval { eval_file_loaded = eval_file; } } + if (eval_file_loaded != eval_file) + eval_file_loaded = ""; } /// NNUE::verify() verifies that the last net used was loaded successfully diff --git a/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp b/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp index 96b2970..ff05a0c 100644 --- a/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp +++ b/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp @@ -472,6 +472,8 @@ TBTables TBTables; // If the corresponding file exists two new objects TBTable and TBTable // are created and added to the lists and hash table. Called at init time. void TBTables::add(const std::vector& 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;