summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-06-02 21:58:50 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-06-02 21:58:50 +0300
commit6e5e3de6214bb792b126d481598e3e9313ea3bbb (patch)
tree983da788b4fce10f4da1b0651b661652a6f6ec10 /src/app.c
parentd56eea0f7f348984c5beeb81b8b7e2253dcb1b70 (diff)
jvm: Store class names like they are in java
com.foo.bar instead of com/foo/bar, only convert to latter form when needed.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index 7dbe37d..8f422d4 100644
--- a/src/app.c
+++ b/src/app.c
@@ -39,7 +39,7 @@ main(int argc, const char *argv[])
JNI_OnLoad(&jvm.vm, NULL);
- static const char *unity_player_class = "com/unity3d/player/UnityPlayer";
+ static const char *unity_player_class = "com.unity3d.player.UnityPlayer";
void (*native_init_jni)(JNIEnv*, jobject, jobject) = jvm_get_native_method(&jvm, unity_player_class, "initJni");
void (*native_done)(JNIEnv*, jobject) = jvm_get_native_method(&jvm, unity_player_class, "nativeDone");
void (*native_file)(JNIEnv*, jobject, jstring) = jvm_get_native_method(&jvm, unity_player_class, "nativeFile");