android/project/jni/android-support.cpp
changeset 4953 4f40b11e1045
parent 4726 9076cdb027af
child 4957 5e42031a8d70
--- a/android/project/jni/android-support.cpp	Tue Jan 04 11:39:04 2011 -0800
+++ b/android/project/jni/android-support.cpp	Tue Jan 04 11:39:52 2011 -0800
@@ -36,7 +36,7 @@
 jmethodID midEnableFeature;
 jmethodID midUpdateAudio;
 
-extern "C" int SDL_main();
+extern "C" int SDL_main(int argc, char *argv[]);
 extern "C" int Android_OnKeyDown(int keycode);
 extern "C" int Android_OnKeyUp(int keycode);
 extern "C" void Android_SetScreenResolution(int width, int height);
@@ -103,7 +103,7 @@
 
 	Android_EnableFeature(FEATURE_ACCEL, true);
 
-    SDL_main();
+    SDL_main(0, 0);
 }
 
 //Keydown