restore android logic

This commit is contained in:
Juan Medina 2020-09-03 17:57:47 +01:00
parent 63187d19a5
commit 1c90e59273
2 changed files with 4 additions and 1 deletions

View file

@ -556,8 +556,9 @@ void android_main(struct android_app *app)
char arg0[] = "raylib"; // NOTE: argv[] are mutable
CORE.Android.app = app;
(void)android_run();
// TODO: Should we maybe report != 0 return codes somewhere?
(void)main(1, (char *[]) { arg0, NULL });
//(void)main(1, (char *[]) { arg0, NULL });
}
// TODO: Add this to header (if apps really need it)