mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +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))
|
if (strcmp(playlist->entries[i].core_path, core_path))
|
||||||
continue;
|
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)
|
if (i == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user