SDL: wait for libapplication.so to load before launching main()

This commit is contained in:
Sergii Pylypenko
2015-01-15 23:43:29 +02:00
parent abef3686fe
commit f5e9ca27e6
5 changed files with 10 additions and 5 deletions

View File

@@ -1235,6 +1235,8 @@ public class MainActivity extends Activity
}
}
}
Log.v("SDL", "libSDL: loaded all libraries");
ApplicationLibraryLoaded = true;
}
public int getApplicationVersion()
@@ -1310,6 +1312,7 @@ public class MainActivity extends Activity
private String _screenKeyboardHintMessage = null;
static boolean keyboardWithoutTextInputShown = false;
private boolean sdlInited = false;
public static boolean ApplicationLibraryLoaded = false;
public interface TouchEventsListener
{