mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Cleanups
This commit is contained in:
parent
85ff96dd10
commit
944983c859
@ -50,15 +50,23 @@ static int generic_shader_action_parameter_right(unsigned type, const char *labe
|
||||
|
||||
int shader_action_parameter_right(unsigned type, const char *label, bool wraparound)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
return generic_shader_action_parameter_right(type, label, wraparound,
|
||||
MENU_SETTINGS_SHADER_PARAMETER_0);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int shader_action_parameter_preset_right(unsigned type, const char *label,
|
||||
bool wraparound)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
return generic_shader_action_parameter_right(type, label, wraparound,
|
||||
MENU_SETTINGS_SHADER_PRESET_PARAMETER_0);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int generic_action_cheat_toggle(size_t idx, unsigned type, const char *label,
|
||||
|
@ -98,21 +98,13 @@ static int action_select_core_setting(const char *path, const char *label, unsig
|
||||
static int shader_action_parameter_select(const char *path, const char *label, unsigned type,
|
||||
size_t idx)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
return shader_action_parameter_right(type, label, true);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int shader_action_parameter_preset_select(const char *path, const char *label, unsigned type,
|
||||
size_t idx)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
return shader_action_parameter_preset_right(type, label, true);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_select_cheat(const char *path, const char *label, unsigned type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user