Random changes here and there, preparation to make libSDL aware of Menu key - this won't work yet!

This commit is contained in:
pelya
2010-09-03 18:42:10 +03:00
parent 59e15688fc
commit 84b7ba606d
20 changed files with 62 additions and 38 deletions

View File

@@ -44,11 +44,8 @@ JAVA_EXPORT_NAME(DemoRenderer_nativeInit) ( JNIEnv* env, jobject thiz )
strcat(curdir, "/files");
}
chdir(curdir);
/*
__android_log_print(ANDROID_LOG_INFO, "libSDL", "Waiting 30s for debugger");
sleep(30); // Wait for debugger to attach
__android_log_print(ANDROID_LOG_INFO, "libSDL", "Starting main()");
*/
setenv("HOME", curdir, 1);
main( argc, argv );
};