android/project/jni/android-support.cpp
changeset 4957 5e42031a8d70
parent 4953 4f40b11e1045
--- a/android/project/jni/android-support.cpp	Tue Jan 04 12:49:48 2011 -0800
+++ b/android/project/jni/android-support.cpp	Tue Jan 04 15:25:49 2011 -0800
@@ -103,7 +103,10 @@
 
 	Android_EnableFeature(FEATURE_ACCEL, true);
 
-    SDL_main(0, 0);
+    char *argv[2];
+    argv[0] = strdup("SDL_app");
+    argv[1] = NULL;
+    SDL_main(1, argv);
 }
 
 //Keydown