mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Merge pull request #1369 from lakkatv/xmb
(XMB) Better test to know when to apply path_basename on the node name
This commit is contained in:
commit
624dc5d59c
@ -886,7 +886,7 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack,
|
||||
entry_label, path,
|
||||
path_buf, sizeof(path_buf));
|
||||
|
||||
if (xmb->active_category && xmb->depth == 1)
|
||||
if (type == MENU_FILE_CONTENTLIST_ENTRY)
|
||||
strlcpy(path_buf, path_basename(path_buf), sizeof(path_buf));
|
||||
|
||||
GLuint icon = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user