mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Buildfix
This commit is contained in:
parent
4a3b9ffc7c
commit
f95be06f13
@ -322,13 +322,18 @@ int rarch_main(int argc, char *argv[], void *data)
|
||||
}
|
||||
|
||||
#ifndef HAVE_MAIN
|
||||
do{
|
||||
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(args);
|
||||
|
@ -17,7 +17,9 @@
|
||||
#define __RETROARCH_RUNLOOP_H
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
#include <rthreads/async_job.h>
|
||||
|
||||
#include "libretro.h"
|
||||
#include "core_info.h"
|
||||
#include "core_options.h"
|
||||
|
@ -16,6 +16,7 @@
|
||||
#ifndef __RETROARCH_DATA_RUNLOOP_H
|
||||
#define __RETROARCH_DATA_RUNLOOP_H
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
x
Reference in New Issue
Block a user