mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 22:20:31 +00:00
(Load Content Animation) Fix detection of 'favourites' playlist
This commit is contained in:
parent
2ff2604e69
commit
c1f67d3f72
@ -412,10 +412,10 @@ bool gfx_widget_start_load_content_animation(void)
|
|||||||
sizeof(state->system_name));
|
sizeof(state->system_name));
|
||||||
|
|
||||||
/* Exclude history and favourites playlists */
|
/* Exclude history and favourites playlists */
|
||||||
if (string_is_equal(state->system_name, "history") ||
|
if (string_ends_with_size(state->system_name, "_history",
|
||||||
string_is_equal(state->system_name, "favorites") ||
|
strlen(state->system_name), STRLEN_CONST("_history")) ||
|
||||||
string_ends_with_size(state->system_name, "_history",
|
string_ends_with_size(state->system_name, "_favorites",
|
||||||
strlen(state->system_name), STRLEN_CONST("_history")))
|
strlen(state->system_name), STRLEN_CONST("_favorites")))
|
||||||
state->system_name[0] = '\0';
|
state->system_name[0] = '\0';
|
||||||
|
|
||||||
/* Check whether a valid system name was found */
|
/* Check whether a valid system name was found */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user