This commit is contained in:
twinaphex 2015-09-07 02:50:30 +02:00
parent 85ff96dd10
commit 944983c859
2 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

@ -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,