mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Android) Buildfix
This commit is contained in:
parent
5c44d58ba9
commit
99ca95a100
@ -733,12 +733,16 @@ static void android_app_entry(void *data)
|
||||
#ifndef HAVE_MAIN
|
||||
do
|
||||
{
|
||||
bool sleeping = false;
|
||||
unsigned sleep_ms = 0;
|
||||
ret = rarch_main_iterate(&sleep_ms);
|
||||
|
||||
if (ret == 1 && sleep_ms > 0)
|
||||
{
|
||||
sleeping = true;
|
||||
retro_sleep(sleep_ms);
|
||||
rarch_main_data_iterate();
|
||||
}
|
||||
rarch_main_data_iterate(sleeping);
|
||||
}while (ret != -1);
|
||||
|
||||
main_exit(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user