(Menu) Move some descriptions to settings_data.c

This commit is contained in:
twinaphex 2014-08-26 19:43:45 +02:00
parent 09e451948b
commit da5ca89d69
2 changed files with 13 additions and 19 deletions

View File

@ -669,24 +669,6 @@ static int menu_info_screen_iterate(unsigned action, rarch_setting_t *setting)
"Depending on video driver, it might \n"
"force a different input driver.");
break;
case MENU_SETTINGS_AUDIO_DSP_FILTER:
snprintf(msg, sizeof(msg),
" -- Audio DSP plugin.\n"
" Processes audio before it's sent to \n"
"the driver."
#ifndef HAVE_FILTERS_BUILTIN
" \n"
"Path to a dynamic library."
#endif
);
break;
case MENU_LIBRETRO_DIR_PATH:
snprintf(msg, sizeof(msg),
" -- Core Directory. \n"
" \n"
"A directory for where to search for \n"
"libretro core implementations.");
break;
case MENU_SETTINGS_BIND_BEGIN + RARCH_ANALOG_LEFT_X_PLUS:
case MENU_SETTINGS_BIND_BEGIN + RARCH_ANALOG_LEFT_X_MINUS:
case MENU_SETTINGS_BIND_BEGIN + RARCH_ANALOG_LEFT_Y_PLUS:

View File

@ -601,7 +601,19 @@ void setting_data_get_description(const void *data, char *msg,
if (!setting)
return;
if (!strcmp(setting->name, "video_disable_composition"))
if (!strcmp(setting->name, "audio_dsp_plugin"))
snprintf(msg, sizeof_msg,
" -- Audio DSP plugin.\n"
" Processes audio before it's sent to \n"
"the driver."
);
else if (!strcmp(setting->name, "libretro_dir_path"))
snprintf(msg, sizeof_msg,
" -- Core Directory. \n"
" \n"
"A directory for where to search for \n"
"libretro core implementations.");
else if (!strcmp(setting->name, "video_disable_composition"))
snprintf(msg, sizeof_msg,
"-- Forcibly disable composition.\n"
"Only valid on Windows Vista/7 for now.");