Skip to content

Commit

Permalink
Added a log message for nativeRunMain()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 28, 2017
1 parent 60182eb commit da84c3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/android/SDL_android.c
Expand Up @@ -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) {
Expand Down

0 comments on commit da84c3b

Please sign in to comment.