mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
console build fix
This commit is contained in:
parent
97c629ebc3
commit
45514e60a7
@ -1484,8 +1484,10 @@ static xmb_node_t* xmb_get_node(xmb_handle_t *xmb, unsigned i)
|
||||
return &xmb->history_tab_node;
|
||||
case XMB_SYSTEM_TAB_ADD:
|
||||
return &xmb->add_tab_node;
|
||||
#ifdef HAVE_NETWORKING
|
||||
case XMB_SYSTEM_TAB_NETPLAY:
|
||||
return &xmb->netplay_tab_node;
|
||||
#endif
|
||||
default:
|
||||
if (i > xmb->system_tab_end)
|
||||
return xmb_get_userdata_from_horizontal_list(
|
||||
@ -3817,12 +3819,14 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action
|
||||
menu_stack->list[stack_size - 1].type =
|
||||
MENU_ADD_TAB;
|
||||
break;
|
||||
#ifdef HAVE_NETWORKING
|
||||
case XMB_SYSTEM_TAB_NETPLAY:
|
||||
menu_stack->list[stack_size - 1].label =
|
||||
strdup(msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_TAB));
|
||||
menu_stack->list[stack_size - 1].type =
|
||||
MENU_NETPLAY_TAB;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
menu_stack->list[stack_size - 1].label =
|
||||
strdup(msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU));
|
||||
|
Loading…
x
Reference in New Issue
Block a user