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

@ -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

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