comparison java/src/com/aurellem/gb/Gb.java @ 59:3ce48d803e74

added functions to get rom/ram sizes
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 17:40:00 -0600
parents 431ee7ee12de
children ef59aee6d715
comparison
equal deleted inserted replaced
58:431ee7ee12de 59:3ce48d803e74
49 49
50 public static void loadState(ByteBuffer saveState){ 50 public static void loadState(ByteBuffer saveState){
51 loadState(saveState, SAVE_SIZE); 51 loadState(saveState, SAVE_SIZE);
52 } 52 }
53 53
54 public static native int getROMSize();
55 public static native int getRAMSize();
56
57
58 public static final int WRAM_SIZE = 0x8000;
59
60 public static final int VRAM_SIZE = 0x4000;
61
62
63
64
54 } 65 }