VCMI loads main menu on a device, but crashes right after click on any botton. Megadebug patch attached.

This commit is contained in:
pelya
2011-06-16 19:57:53 +03:00
parent e8dd7d71d6
commit 62fd0b2dd6
17 changed files with 737 additions and 280 deletions

View File

@@ -265,18 +265,6 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer
mGlContextLost = false;
// ----- VCMI hack -----
try
{
File libpath = new File(context.getFilesDir(), "libvcmi.so");
System.load(libpath.getPath());
}
catch ( UnsatisfiedLinkError eee )
{
//System.out.println("libSDL: error loading lib: " + eee.toString());
}
// ----- VCMI hack -----
String libs[] = { "application", "sdl_main" };
try
{