diff src/clojure/clojure.cpp @ 92:1ff2c546f5ad

added tick(), which allows one to step through each opcode of gameboy
author Robert McIntyre <rlm@mit.edu>
date Sun, 11 Mar 2012 19:07:31 -0500
parents 95cb2152d7cd
children 4c60ebca1a9d
line wrap: on
line diff
     1.1 --- a/src/clojure/clojure.cpp	Sun Mar 11 13:53:27 2012 -0500
     1.2 +++ b/src/clojure/clojure.cpp	Sun Mar 11 19:07:31 2012 -0500
     1.3 @@ -61,8 +61,16 @@
     1.4    step(keymask);
     1.5  }
     1.6  
     1.7 +/*
     1.8 + * Class:     com_aurellem_gb_Gb
     1.9 + * Method:    ntick
    1.10 + * Signature: ()I
    1.11 + */
    1.12 +JNIEXPORT jint JNICALL Java_com_aurellem_gb_Gb_ntick
    1.13 +(JNIEnv *env, jclass clazz){
    1.14 +  return tick();
    1.15  
    1.16 -
    1.17 +}
    1.18  
    1.19  
    1.20  /*