Mercurial > vba-clojure
diff java/src/com/aurellem/gb/Gb.java @ 96:cb487c4ce5c0
added write-memory!, which allows me to write any value to the
gameboy's memory-mapped rom or ram.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 11 Mar 2012 23:27:19 -0500 |
parents | 4c60ebca1a9d |
children | 2090bcb78f44 |
line wrap: on
line diff
1.1 --- a/java/src/com/aurellem/gb/Gb.java Sun Mar 11 23:10:44 2012 -0500 1.2 +++ b/java/src/com/aurellem/gb/Gb.java Sun Mar 11 23:27:19 2012 -0500 1.3 @@ -104,6 +104,8 @@ 1.4 1.5 public static native void getMemory(int[] store); 1.6 1.7 + public static native void writeMemory(int[] newMemory); 1.8 + 1.9 public static native void getRAM(int[] store); 1.10 1.11 public static native void getROM(int[] store);