# HG changeset patch # User Robert McIntyre # Date 1331267351 21600 # Node ID ad6ebe886a211e2bc50364a82ce6c7a2f2e01c6f # Parent 7ab48d728ee4d382b03726842597e318e5178066 worked out size of save files and reduced MAX_SAVE_SIZE to a more reasonable value diff -r 7ab48d728ee4 -r ad6ebe886a21 java/src/com/aurellem/gb/Gb.java --- a/java/src/com/aurellem/gb/Gb.java Thu Mar 08 21:55:40 2012 -0600 +++ b/java/src/com/aurellem/gb/Gb.java Thu Mar 08 22:29:11 2012 -0600 @@ -36,7 +36,7 @@ public static native void loadState(ByteBuffer buffer, int size); - public static final int MAX_SAVE_SIZE = 90000; + public static final int MAX_SAVE_SIZE = 20000; public static ByteBuffer createDirectByteBuffer(int capacity){ byte[] zeros = new byte[capacity];