mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-17 09:37:50 +01:00
DroidFish: Removed unnecessary parameter.
This commit is contained in:
parent
a95dacafdf
commit
b1dbe5293c
|
@ -77,7 +77,7 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
synchronized (EngineUtil.nativeLock) {
|
||||
engineProc = pb.start();
|
||||
}
|
||||
reNice(engineProc);
|
||||
reNice();
|
||||
|
||||
startupThread = new Thread(new Runnable() {
|
||||
@Override
|
||||
|
@ -170,7 +170,7 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
}
|
||||
|
||||
/** Try to change the engine process priority to 5. */
|
||||
private void reNice(Process proc) {
|
||||
private void reNice() {
|
||||
try {
|
||||
java.lang.reflect.Field f = engineProc.getClass().getDeclaredField("pid");
|
||||
f.setAccessible(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user