mirror of
https://github.com/libretro/RetroArch.git
synced 2024-06-02 19:57:24 -04:00
tvOS: fix a crash when a history playlist item does not have a label (#16336)
This commit is contained in:
parent
89c6e23f5f
commit
0e8d60ba3c
|
@ -905,7 +905,8 @@ static NSDictionary *topshelfDictForEntry(const struct playlist_entry *entry, gf
|
|||
{
|
||||
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"id": [NSString stringWithUTF8String:entry->path],
|
||||
@"title": [NSString stringWithUTF8String:entry->label],
|
||||
@"title": [NSString stringWithUTF8String:
|
||||
(string_is_empty(entry->label) ? path_basename(entry->path) : entry->label)],
|
||||
}];
|
||||
if (!string_is_empty(path_data->content_db_name))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue