comparison java/src/com/aurellem/gb/Gb.java @ 48:75349da4c344

clojure hello world works
author Robert McIntyre <rlm@mit.edu>
date Wed, 07 Mar 2012 00:36:53 -0600
parents 9d3769896d66
children e643f55bc886
comparison
equal deleted inserted replaced
47:efa68261dba1 48:75349da4c344
10 10
11 11
12 /** 12 /**
13 * Hello World! This is just to test the native interface. 13 * Hello World! This is just to test the native interface.
14 */ 14 */
15 public native void sayHello(); 15 public static native void sayHello();
16 16
17 /** 17 /**
18 * Run the emulator on a given rom 18 * Run the emulator on a given rom
19 * @param rom - the name of the rom. 19 * @param rom - the name of the rom.
20 */ 20 */
21 public native void startEmulator(String rom); 21 public static native void startEmulator(String rom);
22
23
24 public static void loadVBA(){
25 System.loadLibrary("vba");
26 }
22 27
23 } 28 }