mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Cleanups
This commit is contained in:
parent
9cdea532ce
commit
6bb5af8ee0
@ -1540,14 +1540,18 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
|
|||||||
if (core_name)
|
if (core_name)
|
||||||
strlcpy(fill_buf, core_name, path_size);
|
strlcpy(fill_buf, core_name, path_size);
|
||||||
|
|
||||||
if (!is_history && i == selection)
|
if (!is_history && i == selection && !string_is_empty(label))
|
||||||
{
|
{
|
||||||
char *content_basename = strdup(label);
|
char *content_basename = strdup(label);
|
||||||
|
|
||||||
|
if (!string_is_empty(content_basename))
|
||||||
|
{
|
||||||
menu_driver_set_thumbnail_content(content_basename, strlen(content_basename) + 1);
|
menu_driver_set_thumbnail_content(content_basename, strlen(content_basename) + 1);
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_PATH, NULL);
|
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_PATH, NULL);
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_IMAGE, NULL);
|
menu_driver_ctl(RARCH_MENU_CTL_UPDATE_THUMBNAIL_IMAGE, NULL);
|
||||||
free(content_basename);
|
free(content_basename);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (path)
|
if (path)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user