review formatting
This commit is contained in:
parent
675efbda3b
commit
c3f049fd74
1 changed files with 6 additions and 4 deletions
|
@ -727,13 +727,15 @@ void android_main(struct android_app *app)
|
||||||
int pollEvents = 0;
|
int pollEvents = 0;
|
||||||
|
|
||||||
// Wait for app events to close
|
// Wait for app events to close
|
||||||
while (!CORE.Android.app->destroyRequested) {
|
while (!CORE.Android.app->destroyRequested)
|
||||||
while ((pollResult = ALooper_pollAll(0, NULL, &pollEvents, (void**)&CORE.Android.source)) >= 0) {
|
{
|
||||||
|
while ((pollResult = ALooper_pollAll(0, NULL, &pollEvents, (void **)&CORE.Android.source)) >= 0)
|
||||||
|
{
|
||||||
if (CORE.Android.source != NULL) CORE.Android.source->process(CORE.Android.app, CORE.Android.source);
|
if (CORE.Android.source != NULL) CORE.Android.source->process(CORE.Android.app, CORE.Android.source);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WARNING: Check for deallocation and ensure no other processes are running from the application.
|
// WARNING: Check for deallocation and ensure no other processes are running from the application
|
||||||
exit(0); // Closes the application completely without going through Java
|
exit(0); // Closes the application completely without going through Java
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue