mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
(XMB) Cleanups
This commit is contained in:
parent
2d8abce80f
commit
b3dc51072c
@ -2425,19 +2425,20 @@ static void xmb_list_cache(menu_list_type_t type, unsigned action)
|
|||||||
free(menu_stack->list[stack_size - 1].label);
|
free(menu_stack->list[stack_size - 1].label);
|
||||||
menu_stack->list[stack_size - 1].label = NULL;
|
menu_stack->list[stack_size - 1].label = NULL;
|
||||||
|
|
||||||
if (xmb->categories.selection_ptr == 0)
|
switch (xmb->categories.selection_ptr)
|
||||||
{
|
{
|
||||||
menu_stack->list[stack_size - 1].label =
|
case 0:
|
||||||
strdup(menu_hash_to_str(MENU_VALUE_MAIN_MENU));
|
menu_stack->list[stack_size - 1].label =
|
||||||
menu_stack->list[stack_size - 1].type =
|
strdup(menu_hash_to_str(MENU_VALUE_MAIN_MENU));
|
||||||
MENU_SETTINGS;
|
menu_stack->list[stack_size - 1].type =
|
||||||
}
|
MENU_SETTINGS;
|
||||||
else
|
break;
|
||||||
{
|
default:
|
||||||
menu_stack->list[stack_size - 1].label =
|
menu_stack->list[stack_size - 1].label =
|
||||||
strdup(menu_hash_to_str(MENU_VALUE_HORIZONTAL_MENU));
|
strdup(menu_hash_to_str(MENU_VALUE_HORIZONTAL_MENU));
|
||||||
menu_stack->list[stack_size - 1].type =
|
menu_stack->list[stack_size - 1].type =
|
||||||
MENU_SETTING_HORIZONTAL_MENU;
|
MENU_SETTING_HORIZONTAL_MENU;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user