Found one instance where userdata was not implicitly set to NULL

This commit is contained in:
twinaphex 2020-02-21 20:45:06 +01:00
parent 22dda9f398
commit a4c19457ce
2 changed files with 3 additions and 5 deletions

View File

@ -567,7 +567,7 @@ static bool ctr_frame(void* data, const void* frame,
ctr->ppf_event_pending = false;
}
#ifndef HAVE_THREADS
if(task_queue_find(&ctr_tasks_finder_data))
if (task_queue_find(&ctr_tasks_finder_data))
{
#if 0
ctr->vsync_event_pending = true;
@ -576,9 +576,6 @@ static bool ctr_frame(void* data, const void* frame,
{
task_queue_check();
svcSleepThread(0);
#if 0
aptMainLoop();
#endif
}
}
#endif

View File

@ -1208,7 +1208,8 @@ void task_push_update_installed_cores(const char *path_dir_libretro)
goto error;
/* Only one instance of this task may run at a time */
find_data.func = task_update_installed_cores_finder;
find_data.func = task_update_installed_cores_finder;
find_data.userdata = NULL;
if (task_queue_find(&find_data))
goto error;