mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(menu_displaylist.c) Cleanups
This commit is contained in:
parent
f1b900f7bc
commit
5f52a06080
@ -3837,15 +3837,13 @@ static bool menu_displaylist_push_internal(
|
|||||||
{
|
{
|
||||||
if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)))
|
if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)))
|
||||||
{
|
{
|
||||||
if (!menu_displaylist_ctl(DISPLAYLIST_HISTORY, info))
|
if (menu_displaylist_ctl(DISPLAYLIST_HISTORY, info))
|
||||||
return false;
|
return true;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB)))
|
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB)))
|
||||||
{
|
{
|
||||||
if (!menu_displaylist_ctl(DISPLAYLIST_SETTINGS_ALL, info))
|
if (menu_displaylist_ctl(DISPLAYLIST_SETTINGS_ALL, info))
|
||||||
return false;
|
return true;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)))
|
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)))
|
||||||
{
|
{
|
||||||
@ -3951,21 +3949,18 @@ static bool menu_displaylist_push_internal(
|
|||||||
}
|
}
|
||||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)))
|
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)))
|
||||||
{
|
{
|
||||||
if (!menu_displaylist_ctl(DISPLAYLIST_SCAN_DIRECTORY_LIST, info))
|
if (menu_displaylist_ctl(DISPLAYLIST_SCAN_DIRECTORY_LIST, info))
|
||||||
return false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_TAB)))
|
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY_TAB)))
|
||||||
{
|
{
|
||||||
if (!menu_displaylist_ctl(DISPLAYLIST_NETPLAY_ROOM_LIST, info))
|
if (menu_displaylist_ctl(DISPLAYLIST_NETPLAY_ROOM_LIST, info))
|
||||||
return false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)))
|
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)))
|
||||||
{
|
{
|
||||||
if (!menu_displaylist_ctl(DISPLAYLIST_HORIZONTAL, info))
|
if (menu_displaylist_ctl(DISPLAYLIST_HORIZONTAL, info))
|
||||||
return false;
|
return true;
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user