From bb02fffabdcc4ce958fceb937105b6e9ded56e97 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 25 Feb 2024 16:52:04 +0100 Subject: [PATCH] Add DroidFish modifications to Stockfish --- DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp b/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp index 722dc9d..300b240 100644 --- a/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp +++ b/DroidFishApp/src/main/cpp/stockfish/syzygy/tbprobe.cpp @@ -496,6 +496,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;