comparison src/com/aurellem/gb/Gb.java @ 43:480951f6521d

add initial jni interface
author Robert McIntyre <rlm@mit.edu>
date Tue, 06 Mar 2012 21:43:28 -0600
parents
children
comparison
equal deleted inserted replaced
42:6f145876d887 43:480951f6521d
1 package com.aurellem.gb;
2
3 import java.nio.ByteBuffer;
4
5
6 public class Gb {
7
8
9 public Gb(){}
10
11
12 /**
13 * Hello World! This is just to test the native interface.
14 */
15 public native void sayHello();
16
17 /**
18 * Run the emulator on a given rom
19 * @param rom - the name of the rom.
20 */
21 public native void startEmulator(String rom);
22
23 }