Mercurial > vba-clojure
comparison java/src/com/aurellem/gb/Gb.java @ 83:95cb2152d7cd
fleshing out functional gb interface
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 09 Mar 2012 19:18:00 -0600 |
parents | db8e0a563c8e |
children | 1ff2c546f5ad |
comparison
equal
deleted
inserted
replaced
82:04d539d26bdc | 83:95cb2152d7cd |
---|---|
26 System.loadLibrary("vba"); | 26 System.loadLibrary("vba"); |
27 } | 27 } |
28 | 28 |
29 public static native void step(); | 29 public static native void step(); |
30 | 30 |
31 public static native void step(int keymask); | 31 public static native void nstep(int keymask); |
32 | |
33 public static void step(int keymask){ | |
34 if (-1 == keymask) {step();} | |
35 else {nstep(keymask);}} | |
32 | 36 |
33 public static native void shutdown(); | 37 public static native void shutdown(); |
34 | 38 |
35 public static native long saveState(ByteBuffer buffer, int size); | 39 public static native long saveState(ByteBuffer buffer, int size); |
36 | 40 |