mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Fix wrong thumbnail index
This commit is contained in:
parent
d142ccca02
commit
a0c5a28602
@ -835,6 +835,7 @@ end:
|
||||
static void xmb_update_thumbnail_path(void *data, unsigned i)
|
||||
{
|
||||
menu_entry_t entry;
|
||||
unsigned depth;
|
||||
char *tmp = NULL;
|
||||
char *scrub_char_pointer = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -861,6 +862,10 @@ static void xmb_update_thumbnail_path(void *data, unsigned i)
|
||||
|
||||
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_GET, &playlist);
|
||||
|
||||
depth = xmb_list_get_size(xmb, MENU_LIST_PLAIN);
|
||||
if (depth > 1 && !string_is_equal(entry.label, "state_slot"))
|
||||
return;
|
||||
|
||||
if (playlist)
|
||||
{
|
||||
playlist_get_index(playlist, i,
|
||||
|
Loading…
x
Reference in New Issue
Block a user