mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
(playlist.c) Some more explanation on code decisions
This commit is contained in:
parent
e9e3a2105d
commit
62bdc940c5
@ -98,6 +98,8 @@ void content_playlist_push(content_playlist_t *playlist,
|
||||
if (strcmp(playlist->entries[i].core_path, core_path))
|
||||
continue;
|
||||
|
||||
/* If top entry, we don't want to push a new entry since
|
||||
* the top and the entry to be pushed are the same. */
|
||||
if (i == 0)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user