From 426bff20414301ee204dd90c6ba271fd674ec402 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 15 Oct 2014 20:41:51 +0200 Subject: [PATCH] Simplify menu_common_type_is --- frontend/menu/menu_common.c | 6 ------ frontend/menu/menu_common.h | 1 - 2 files changed, 7 deletions(-) diff --git a/frontend/menu/menu_common.c b/frontend/menu/menu_common.c index 9dab948423..2328d03f99 100644 --- a/frontend/menu/menu_common.c +++ b/frontend/menu/menu_common.c @@ -440,12 +440,6 @@ int menu_iterate(retro_input_t input, unsigned menu_common_type_is(const char *label, unsigned type) { - if ( - !strcmp(label, "video_shader_pass") || - !strcmp(label, "video_shader_preset") - ) - return MENU_SETTINGS_SHADER_OPTIONS; - if ( type == MENU_SETTINGS || type == MENU_FILE_CATEGORY || diff --git a/frontend/menu/menu_common.h b/frontend/menu/menu_common.h index 67fa9592ce..c05cc02023 100644 --- a/frontend/menu/menu_common.h +++ b/frontend/menu/menu_common.h @@ -108,7 +108,6 @@ typedef enum // Shader stuff MENU_SETTINGS_VIDEO_RESOLUTION = MENU_SETTINGS + 1, MENU_SETTINGS_CUSTOM_VIEWPORT, - MENU_SETTINGS_SHADER_OPTIONS, MENU_SETTINGS_SHADER_PARAMETER_0, MENU_SETTINGS_SHADER_PARAMETER_LAST = MENU_SETTINGS_SHADER_PARAMETER_0 + (GFX_MAX_PARAMETERS - 1), MENU_SETTINGS_SHADER_PASS_0,