mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Cleanup
This commit is contained in:
parent
25f4b89f1f
commit
fef0d99351
@ -373,10 +373,12 @@ void rarch_task_deinit(void)
|
|||||||
void rarch_task_check(void)
|
void rarch_task_check(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
bool current_threaded = impl_current == &impl_threaded;
|
settings_t *settings = config_get_ptr();
|
||||||
bool want_threaded = config_get_ptr()->threaded_data_runloop_enable;
|
bool current_threaded = (impl_current == &impl_threaded);
|
||||||
|
bool want_threaded = settings->threaded_data_runloop_enable;
|
||||||
|
|
||||||
if (want_threaded != current_threaded) {
|
if (want_threaded != current_threaded)
|
||||||
|
{
|
||||||
RARCH_LOG("Switching rarch_task implementation.\n");
|
RARCH_LOG("Switching rarch_task implementation.\n");
|
||||||
rarch_task_deinit();
|
rarch_task_deinit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user