DroidFish: Renamed NativePipedProcess to StockFishJNI.

This commit is contained in:
Peter Osterlund
2012-01-01 10:31:12 +00:00
parent 4f4d1d95d7
commit 04a0b68f1a
4 changed files with 14 additions and 14 deletions

View File

@@ -546,7 +546,7 @@ public class DroidComputerPlayer {
if ("cuckoochess".equals(searchRequest.engine))
uciEngine = new CuckooChessEngine();
else
uciEngine = new NativePipedProcess();
uciEngine = new StockFishJNI();
uciEngine.initialize();
engineMonitor = new Thread(new Runnable() {
@@ -911,7 +911,7 @@ public class DroidComputerPlayer {
nCPUsFromProc = nCPUs;
} catch (IOException e) {
}
int nCPUsFromOS = NativePipedProcess.getNPhysicalProcessors();
int nCPUsFromOS = StockFishJNI.getNPhysicalProcessors();
return Math.max(nCPUsFromProc, nCPUsFromOS);
}

View File

@@ -18,9 +18,9 @@
package org.petero.droidfish.engine;
public class NativePipedProcess extends UCIEngineBase {
public class StockFishJNI extends UCIEngineBase {
static {
System.loadLibrary("jni");
System.loadLibrary("stockfishjni");
}
@Override