mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Put HAVE_THERADS guard around conditional
This commit is contained in:
parent
64e3e40bb6
commit
642a5ddb40
1 changed files with 2 additions and 3 deletions
|
@ -971,7 +971,6 @@ void rarch_main_data_iterate(void)
|
|||
|
||||
(void)settings;
|
||||
#ifdef HAVE_THREADS
|
||||
#if 1
|
||||
if (settings->menu.threaded_data_runloop_enable)
|
||||
{
|
||||
switch (data_runloop->thread_code)
|
||||
|
@ -985,7 +984,6 @@ void rarch_main_data_iterate(void)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
rarch_main_data_overlay_iterate(false, data_runloop);
|
||||
|
@ -995,9 +993,10 @@ void rarch_main_data_iterate(void)
|
|||
rarch_main_data_http_iterate(false, &data_runloop->http);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
if (settings->menu.threaded_data_runloop_enable && data_runloop->alive)
|
||||
return;
|
||||
|
||||
#endif
|
||||
|
||||
data_runloop_iterate(false, data_runloop);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue