mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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));
|
||||
|
||||
/* Exclude history and favourites playlists */
|
||||
if (string_is_equal(state->system_name, "history") ||
|
||||
string_is_equal(state->system_name, "favorites") ||
|
||||
string_ends_with_size(state->system_name, "_history",
|
||||
strlen(state->system_name), STRLEN_CONST("_history")))
|
||||
if (string_ends_with_size(state->system_name, "_history",
|
||||
strlen(state->system_name), STRLEN_CONST("_history")) ||
|
||||
string_ends_with_size(state->system_name, "_favorites",
|
||||
strlen(state->system_name), STRLEN_CONST("_favorites")))
|
||||
state->system_name[0] = '\0';
|
||||
|
||||
/* Check whether a valid system name was found */
|
||||
|
Loading…
x
Reference in New Issue
Block a user