mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-26 11:26:37 +08:00
Discard TitleDB entries without any CIAs or 3DSXs.
This commit is contained in:
parent
9fc47a1941
commit
c7708a4f40
@ -138,12 +138,17 @@ static void task_populate_titledb_thread(void* arg) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(titledbInfo->cia.exists || titledbInfo->tdsx.exists) {
|
||||||
strncpy(item->name, titledbInfo->meta.shortDescription, LIST_ITEM_NAME_MAX);
|
strncpy(item->name, titledbInfo->meta.shortDescription, LIST_ITEM_NAME_MAX);
|
||||||
item->data = titledbInfo;
|
item->data = titledbInfo;
|
||||||
|
|
||||||
task_populate_titledb_update_status(item);
|
task_populate_titledb_update_status(item);
|
||||||
|
|
||||||
linked_list_add_sorted(&titles, item, NULL, task_populate_titledb_compare);
|
linked_list_add_sorted(&titles, item, NULL, task_populate_titledb_compare);
|
||||||
|
} else {
|
||||||
|
free(titledbInfo);
|
||||||
|
free(item);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
free(item);
|
free(item);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user