DroidFish: Set RTB option before GTB option. Improves texel startup time a bit.

This commit is contained in:
Peter Osterlund
2014-07-16 18:25:35 +00:00
parent 0e9e6fb18b
commit 083ed45ce4
2 changed files with 4 additions and 4 deletions

View File

@@ -177,10 +177,10 @@ public class ExternalEngine extends UCIEngineBase {
super.initOptions(engineOptions); super.initOptions(engineOptions);
hashMB = getHashMB(engineOptions.hashMB); hashMB = getHashMB(engineOptions.hashMB);
setOption("Hash", hashMB); setOption("Hash", hashMB);
gaviotaTbPath = engineOptions.getEngineGtbPath(false);
setOption("GaviotaTbPath", gaviotaTbPath);
syzygyPath = engineOptions.getEngineRtbPath(false); syzygyPath = engineOptions.getEngineRtbPath(false);
setOption("SyzygyPath", syzygyPath); setOption("SyzygyPath", syzygyPath);
gaviotaTbPath = engineOptions.getEngineGtbPath(false);
setOption("GaviotaTbPath", gaviotaTbPath);
optionsInitialized = true; optionsInitialized = true;
} }

View File

@@ -206,10 +206,10 @@ public class NetworkEngine extends UCIEngineBase {
super.initOptions(engineOptions); super.initOptions(engineOptions);
hashMB = engineOptions.hashMB; hashMB = engineOptions.hashMB;
setOption("Hash", engineOptions.hashMB); setOption("Hash", engineOptions.hashMB);
gaviotaTbPath = engineOptions.getEngineGtbPath(true);
setOption("GaviotaTbPath", gaviotaTbPath);
syzygyPath = engineOptions.getEngineRtbPath(true); syzygyPath = engineOptions.getEngineRtbPath(true);
setOption("SyzygyPath", syzygyPath); setOption("SyzygyPath", syzygyPath);
gaviotaTbPath = engineOptions.getEngineGtbPath(true);
setOption("GaviotaTbPath", gaviotaTbPath);
optionsInitialized = true; optionsInitialized = true;
} }