Added a log message for nativeRunMain()

This commit is contained in:
Sam Lantinga 2017-08-28 14:44:21 -07:00
parent 60182eb71b
commit da84c3bf6e
1 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,8 @@ JNIEXPORT int JNICALL SDL_JAVA_INTERFACE(nativeRunMain)(JNIEnv* env, jclass cls,
const char *library_file;
void *library_handle;
__android_log_print(ANDROID_LOG_VERBOSE, "SDL", "nativeRunMain()");
library_file = (*env)->GetStringUTFChars(env, library, NULL);
library_handle = dlopen(library_file, RTLD_GLOBAL);
if (library_handle) {