Preloaded libhwengine.so and added an argument to nativeInit() hedgeroid
authorXeli
Tue, 28 Jun 2011 17:55:15 +0200
branchhedgeroid
changeset 5371 bb809cd50781
parent 5369 0ce1ef75c08f
child 5373 ad1c61a6ab4d
Preloaded libhwengine.so and added an argument to nativeInit()
project_files/Android-build/SDL-android-project/src/org/hedgewars/SDLActivity.java
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/SDLActivity.java	Tue Jun 28 17:54:27 2011 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/SDLActivity.java	Tue Jun 28 17:55:15 2011 +0200
@@ -50,7 +50,7 @@
 		System.loadLibrary("SDL_net");
 		System.loadLibrary("SDL_mixer");
 		System.loadLibrary("SDL_ttf");
-
+		System.loadLibrary("hwengine");
 		System.loadLibrary("main");
 	}
 
@@ -237,7 +237,7 @@
 	public void run() {
 		// Runs SDL_main()
 		
-		SDLActivity.nativeInit(new String[]{ "0", String.valueOf(surfaceWidth), String.valueOf(surfaceHeight), "0", "null", "xeli", "1", "1", "1", "0", "/sdcard/bla.hwd"});
+		SDLActivity.nativeInit(new String[]{ "0", String.valueOf(surfaceWidth), String.valueOf(surfaceHeight), "0", "null", "xeli", "1", "1", "1", "0", "/sdcard/bla.hwd", "/sdcard/Data"});
 
 		//Log.v("SDL", "SDL thread terminated");
 	}