mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(XMB) Better test to know when to apply path_basename on the node name
This commit is contained in:
parent
6658a18baf
commit
2e8154a7dd
@ -886,7 +886,7 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack,
|
|||||||
entry_label, path,
|
entry_label, path,
|
||||||
path_buf, sizeof(path_buf));
|
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));
|
strlcpy(path_buf, path_basename(path_buf), sizeof(path_buf));
|
||||||
|
|
||||||
GLuint icon = 0;
|
GLuint icon = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user