mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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)
|
||||
{
|
||||
#ifdef HAVE_THREADS
|
||||
bool current_threaded = impl_current == &impl_threaded;
|
||||
bool want_threaded = config_get_ptr()->threaded_data_runloop_enable;
|
||||
settings_t *settings = config_get_ptr();
|
||||
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_task_deinit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user