Mercurial > vba-clojure
comparison src/clojure/clojure.cpp @ 55:719d910c90f8
can now send button presses to the simulated gameboy
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 07 Mar 2012 13:24:32 -0600 |
parents | 9d0ec2614443 |
children | ba4fdfb722ed |
comparison
equal
deleted
inserted
replaced
54:88218735d220 | 55:719d910c90f8 |
---|---|
35 | 35 |
36 char* arguments[] = {"vba-rlm", romName}; | 36 char* arguments[] = {"vba-rlm", romName}; |
37 runVBA(2, arguments); | 37 runVBA(2, arguments); |
38 } | 38 } |
39 | 39 |
40 | |
41 | |
42 | |
40 /* | 43 /* |
41 * Class: com_aurellem_gb_Gb | 44 * Class: com_aurellem_gb_Gb |
42 * Method: step | 45 * Method: step |
43 * Signature: ()V | 46 * Signature: ()V |
44 */ | 47 */ |
45 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_step | 48 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_step__ |
46 (JNIEnv *env, jclass clazz){ | 49 (JNIEnv *env, jclass clazz){ |
47 step(); | 50 step(); |
48 } | 51 } |
52 | |
53 /* | |
54 * Class: com_aurellem_gb_Gb | |
55 * Method: step | |
56 * Signature: (I)V | |
57 */ | |
58 JNIEXPORT void JNICALL Java_com_aurellem_gb_Gb_step__I | |
59 (JNIEnv *env, jclass clazz, jint keymask){ | |
60 step(keymask); | |
61 } | |
62 | |
63 | |
64 | |
65 | |
49 | 66 |
50 /* | 67 /* |
51 * Class: com_aurellem_gb_Gb | 68 * Class: com_aurellem_gb_Gb |
52 * Method: shutdown | 69 * Method: shutdown |
53 * Signature: ()V | 70 * Signature: ()V |
56 (JNIEnv *env, jclass clazz){ | 73 (JNIEnv *env, jclass clazz){ |
57 shutdown(); | 74 shutdown(); |
58 } | 75 } |
59 | 76 |
60 | 77 |
78 | |
79 | |
80 |