This commit is contained in:
twinaphex 2020-02-02 02:07:50 +01:00
parent 7bf6bac63f
commit e7e7a284f5

View File

@ -208,13 +208,8 @@ static void retro_task_regular_reset(void)
task->cancelled = true;
}
static void retro_task_regular_init(void)
{
}
static void retro_task_regular_deinit(void)
{
}
static void retro_task_regular_init(void) { }
static void retro_task_regular_deinit(void) { }
static bool retro_task_regular_find(retro_task_finder_t func, void *user_data)
{
@ -598,7 +593,7 @@ void task_queue_check(void)
{
#ifdef HAVE_THREADS
bool current_threaded = (impl_current == &impl_threaded);
bool want_threaded = task_queue_is_threaded();
bool want_threaded = task_threaded_enable;
if (want_threaded != current_threaded)
task_queue_deinit();