mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(task_pl_thumbnail_download) Some string_is__equal optimizations
This commit is contained in:
parent
5db62e73da
commit
ce95dcaf79
1 changed files with 2 additions and 4 deletions
|
@ -798,14 +798,12 @@ bool task_push_pl_entry_thumbnail_download(
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
/* Only parse supported playlist types */
|
/* Only parse supported playlist types */
|
||||||
if (string_is_equal(system, "images_history") ||
|
if (string_ends_with(system, "_history"))
|
||||||
string_is_equal(system, "music_history") ||
|
|
||||||
string_is_equal(system, "video_history"))
|
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
/* Copy playlist path
|
/* Copy playlist path
|
||||||
* (required for task finder and menu refresh functionality) */
|
* (required for task finder and menu refresh functionality) */
|
||||||
playlist_path = strdup(playlist_get_conf_path(playlist));
|
playlist_path = strdup(playlist_get_conf_path(playlist));
|
||||||
|
|
||||||
/* Concurrent download of thumbnails for the same
|
/* Concurrent download of thumbnails for the same
|
||||||
* playlist entry is not allowed */
|
* playlist entry is not allowed */
|
||||||
|
|
Loading…
Add table
Reference in a new issue