diff --git a/DroidFish/.classpath b/DroidFish/.classpath index b068c94..d961127 100644 --- a/DroidFish/.classpath +++ b/DroidFish/.classpath @@ -3,6 +3,7 @@ - + + diff --git a/DroidFish/AndroidManifest.xml b/DroidFish/AndroidManifest.xml index 443704b..d0fb7a5 100644 --- a/DroidFish/AndroidManifest.xml +++ b/DroidFish/AndroidManifest.xml @@ -11,8 +11,7 @@ + android:label="@string/app_name"> diff --git a/DroidFish/src/org/petero/droidfish/DroidFish.java b/DroidFish/src/org/petero/droidfish/DroidFish.java index f087f62..77d9e08 100644 --- a/DroidFish/src/org/petero/droidfish/DroidFish.java +++ b/DroidFish/src/org/petero/droidfish/DroidFish.java @@ -142,6 +142,7 @@ public class DroidFish extends Activity implements GUIInterface { // FIXME!!! Better behavior if engine is terminated. How exactly? // FIXME!!! Handle PGN intents with more than one game. + // FIXME!!! File load/save of FEN data // FIXME!!! Make engine hash size configurable. private ChessBoard cb; diff --git a/DroidFish/src/org/petero/droidfish/book/InternalBook.java b/DroidFish/src/org/petero/droidfish/book/InternalBook.java index 5fd0d9e..75b9079 100644 --- a/DroidFish/src/org/petero/droidfish/book/InternalBook.java +++ b/DroidFish/src/org/petero/droidfish/book/InternalBook.java @@ -84,6 +84,8 @@ final class InternalBook implements IOpeningBook { numBookMoves = 0; try { InputStream inStream = getClass().getResourceAsStream("/book.bin"); + if (inStream == null) + throw new IOException(); List buf = new ArrayList(8192); byte[] tmpBuf = new byte[1024]; while (true) {