# HG changeset patch # User Robert McIntyre # Date 1331091808 21600 # Node ID 480951f6521d2fc2269c7cd12bb0bc4dc17ee1c2 # Parent 6f145876d887ac9d7878a093531cfc8ded999f6d add initial jni interface diff -r 6f145876d887 -r 480951f6521d src/com/aurellem/gb/Gb.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/com/aurellem/gb/Gb.java Tue Mar 06 21:43:28 2012 -0600 @@ -0,0 +1,23 @@ +package com.aurellem.gb; + +import java.nio.ByteBuffer; + + +public class Gb { + + + public Gb(){} + + + /** + * Hello World! This is just to test the native interface. + */ + public native void sayHello(); + + /** + * Run the emulator on a given rom + * @param rom - the name of the rom. + */ + public native void startEmulator(String rom); + +}