mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
xmb: Fix segfault when appending disk images.
This commit is contained in:
parent
9df5a75045
commit
4722d41b0b
@ -975,7 +975,7 @@ static void xmb_update_thumbnail_path(void *data, unsigned i, char pos)
|
||||
xmb_node_t *node = (xmb_node_t*)
|
||||
file_list_get_userdata_at_offset(selection_buf, i);
|
||||
|
||||
if (!string_is_empty(node->fullpath) &&
|
||||
if (node && !string_is_empty(node->fullpath) &&
|
||||
(pos == 'R' || (pos == 'L' && string_is_equal(xmb_thumbnails_ident('R'),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF)))))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user