mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-28 21:55:27 +00:00
Simplify menu_common_type_is
This commit is contained in:
parent
b443a032f6
commit
426bff2041
@ -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 ||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user