Cleanup menu_common_type_is

This commit is contained in:
twinaphex 2014-11-17 01:29:02 +01:00
parent c106252e80
commit 985d378261

View File

@ -461,23 +461,6 @@ int menu_iterate(retro_input_t input,
unsigned menu_common_type_is(const char *label, unsigned type)
{
if (
type == MENU_SETTINGS ||
type == MENU_SETTING_GROUP ||
!strcmp(label, "Shader Options") ||
!strcmp(label, "core_options") ||
!strcmp(label, "core_information") ||
!strcmp(label, "video_shader_parameters") ||
!strcmp(label, "video_shader_preset_parameters") ||
!strcmp(label, "disk_options") ||
!strcmp(label, "settings") ||
!strcmp(label, "performance_counters") ||
!strcmp(label, "frontend_counters") ||
!strcmp(label, "core_counters")
)
return MENU_SETTINGS;
if (
!strcmp(label, "rgui_browser_directory") ||
!strcmp(label, "content_directory") ||