mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(Menu) Clean up code
This commit is contained in:
parent
75d21299c3
commit
236920a641
@ -559,11 +559,6 @@ static void rgui_render(void)
|
|||||||
w = 5;
|
w = 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
|
|
||||||
{
|
|
||||||
*type_str = '\0';
|
|
||||||
w = 0;
|
|
||||||
}
|
|
||||||
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
||||||
strlcpy(
|
strlcpy(
|
||||||
type_str,
|
type_str,
|
||||||
|
@ -404,11 +404,6 @@ static void rmenu_render(void)
|
|||||||
w = 5;
|
w = 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
|
|
||||||
{
|
|
||||||
*type_str = '\0';
|
|
||||||
w = 0;
|
|
||||||
}
|
|
||||||
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
||||||
strlcpy(type_str,
|
strlcpy(type_str,
|
||||||
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),
|
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),
|
||||||
|
@ -623,11 +623,6 @@ static void rmenu_xui_render(void)
|
|||||||
w = 5;
|
w = 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
|
|
||||||
{
|
|
||||||
*type_str = '\0';
|
|
||||||
w = 0;
|
|
||||||
}
|
|
||||||
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
else if (type >= MENU_SETTINGS_CORE_OPTION_START)
|
||||||
strlcpy(type_str,
|
strlcpy(type_str,
|
||||||
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),
|
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user