changeset 58:431ee7ee12de

savestate buffer was too small
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 15:17:19 -0600
parents b0473c3a0df0
children 3ce48d803e74
files java/src/com/aurellem/gb/Gb.java org/todo.org
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/java/src/com/aurellem/gb/Gb.java	Wed Mar 07 14:20:57 2012 -0600
     1.2 +++ b/java/src/com/aurellem/gb/Gb.java	Wed Mar 07 15:17:19 2012 -0600
     1.3 @@ -35,7 +35,7 @@
     1.4  
     1.5      public static native void loadState(ByteBuffer buffer, int size);
     1.6  
     1.7 -    public static final int SAVE_SIZE = 9000;
     1.8 +    public static final int SAVE_SIZE = 90000;
     1.9  
    1.10      public static ByteBuffer saveState(){
    1.11  	ByteBuffer buf = 
     2.1 --- a/org/todo.org	Wed Mar 07 14:20:57 2012 -0600
     2.2 +++ b/org/todo.org	Wed Mar 07 15:17:19 2012 -0600
     2.3 @@ -16,6 +16,7 @@
     2.4  
     2.5  * high level
     2.6   - [ ] write vbm files
     2.7 + - [ ] remove battery backup files
     2.8  
     2.9  
    2.10