From 5c5f94184ebc3458bde3211e10c16303f77e286c Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Mon, 3 Dec 2018 20:53:11 +0100 Subject: [PATCH] DroidFish: Don't use 6-men TBs for 32-bit compiles. --- DroidFish/jni/stockfish/syzygy/tbprobe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DroidFish/jni/stockfish/syzygy/tbprobe.cpp b/DroidFish/jni/stockfish/syzygy/tbprobe.cpp index d0b59f0..33ccf6b 100644 --- a/DroidFish/jni/stockfish/syzygy/tbprobe.cpp +++ b/DroidFish/jni/stockfish/syzygy/tbprobe.cpp @@ -441,6 +441,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;