comparison 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
comparison
equal deleted inserted replaced
91:613353b7e012 92:1ff2c546f5ad
59 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_nstep 59 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_nstep
60 (JNIEnv *env, jclass clazz, jint keymask){ 60 (JNIEnv *env, jclass clazz, jint keymask){
61 step(keymask); 61 step(keymask);
62 } 62 }
63 63
64 /*
65 * Class: com_aurellem_gb_Gb
66 * Method: ntick
67 * Signature: ()I
68 */
69 JNIEXPORT jint JNICALL Java_com_aurellem_gb_Gb_ntick
70 (JNIEnv *env, jclass clazz){
71 return tick();
64 72
65 73 }
66 74
67 75
68 /* 76 /*
69 * Class: com_aurellem_gb_Gb 77 * Class: com_aurellem_gb_Gb
70 * Method: shutdown 78 * Method: shutdown