mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
(Menu_setting.c) Minor cleanups
This commit is contained in:
parent
de527bf7ad
commit
761f9cd7ea
@ -2032,7 +2032,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
{
|
{
|
||||||
case MENU_LABEL_INPUT_DRIVER_UDEV:
|
case MENU_LABEL_INPUT_DRIVER_UDEV:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- udev Input driver. \n"
|
"udev Input driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"This driver can run without X. \n"
|
"This driver can run without X. \n"
|
||||||
" \n"
|
" \n"
|
||||||
@ -2052,7 +2052,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_DRIVER_LINUXRAW:
|
case MENU_LABEL_INPUT_DRIVER_LINUXRAW:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- linuxraw Input driver. \n"
|
"linuxraw Input driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"This driver requires an active TTY. Keyboard \n"
|
"This driver requires an active TTY. Keyboard \n"
|
||||||
"events are read directly from the TTY which \n"
|
"events are read directly from the TTY which \n"
|
||||||
@ -2063,7 +2063,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Input driver.\n"
|
"Input driver.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Depending on video driver, it might \n"
|
"Depending on video driver, it might \n"
|
||||||
"force a different input driver.");
|
"force a different input driver.");
|
||||||
@ -2072,7 +2072,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_LOAD_CONTENT:
|
case MENU_LABEL_LOAD_CONTENT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Load Content. \n"
|
"Load Content. \n"
|
||||||
"Browse for content. \n"
|
"Browse for content. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"To load content, you need a \n"
|
"To load content, you need a \n"
|
||||||
@ -2092,7 +2092,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_CORE_LIST:
|
case MENU_LABEL_CORE_LIST:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Load Core. \n"
|
"Load Core. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Browse for a libretro core \n"
|
"Browse for a libretro core \n"
|
||||||
"implementation. Where the browser \n"
|
"implementation. Where the browser \n"
|
||||||
@ -2106,7 +2106,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_LOAD_CONTENT_HISTORY:
|
case MENU_LABEL_LOAD_CONTENT_HISTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Loading content from history. \n"
|
"Loading content from history. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"As content is loaded, content and libretro \n"
|
"As content is loaded, content and libretro \n"
|
||||||
"core combinations are saved to history. \n"
|
"core combinations are saved to history. \n"
|
||||||
@ -2125,7 +2125,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
{
|
{
|
||||||
case MENU_LABEL_VIDEO_DRIVER_GL:
|
case MENU_LABEL_VIDEO_DRIVER_GL:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- OpenGL Video driver. \n"
|
"OpenGL Video driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"This driver allows libretro GL cores to \n"
|
"This driver allows libretro GL cores to \n"
|
||||||
"be used in addition to software-rendered \n"
|
"be used in addition to software-rendered \n"
|
||||||
@ -2138,7 +2138,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DRIVER_SDL2:
|
case MENU_LABEL_VIDEO_DRIVER_SDL2:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- SDL 2 Video driver.\n"
|
"SDL 2 Video driver.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"This is an SDL 2 software-rendered video \n"
|
"This is an SDL 2 software-rendered video \n"
|
||||||
"driver.\n"
|
"driver.\n"
|
||||||
@ -2149,7 +2149,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DRIVER_SDL1:
|
case MENU_LABEL_VIDEO_DRIVER_SDL1:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- SDL Video driver.\n"
|
"SDL Video driver.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"This is an SDL 1.2 software-rendered video \n"
|
"This is an SDL 1.2 software-rendered video \n"
|
||||||
"driver.\n"
|
"driver.\n"
|
||||||
@ -2159,7 +2159,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DRIVER_D3D:
|
case MENU_LABEL_VIDEO_DRIVER_D3D:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Direct3D Video driver. \n"
|
"Direct3D Video driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Performance for software-rendered cores \n"
|
"Performance for software-rendered cores \n"
|
||||||
"is dependent on your graphic card's \n"
|
"is dependent on your graphic card's \n"
|
||||||
@ -2167,7 +2167,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DRIVER_EXYNOS:
|
case MENU_LABEL_VIDEO_DRIVER_EXYNOS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Exynos-G2D Video Driver. \n"
|
"Exynos-G2D Video Driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"This is a low-level Exynos video driver. \n"
|
"This is a low-level Exynos video driver. \n"
|
||||||
"Uses the G2D block in Samsung Exynos SoC \n"
|
"Uses the G2D block in Samsung Exynos SoC \n"
|
||||||
@ -2178,20 +2178,20 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DRIVER_SUNXI:
|
case MENU_LABEL_VIDEO_DRIVER_SUNXI:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Sunxi-G2D Video Driver. \n"
|
"Sunxi-G2D Video Driver. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"This is a low-level Sunxi video driver. \n"
|
"This is a low-level Sunxi video driver. \n"
|
||||||
"Uses the G2D block in Allwinner SoCs.");
|
"Uses the G2D block in Allwinner SoCs.");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Current Video driver.");
|
"Current Video driver.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_DSP_PLUGIN:
|
case MENU_LABEL_AUDIO_DSP_PLUGIN:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Audio DSP plugin.\n"
|
"Audio DSP plugin.\n"
|
||||||
" Processes audio before it's sent to \n"
|
" Processes audio before it's sent to \n"
|
||||||
"the driver."
|
"the driver."
|
||||||
);
|
);
|
||||||
@ -2203,17 +2203,17 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
{
|
{
|
||||||
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_SINC:
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_SINC:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Windowed SINC implementation.");
|
"Windowed SINC implementation.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_CC:
|
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER_CC:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Convoluted Cosine implementation.");
|
"Convoluted Cosine implementation.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_PRESET:
|
case MENU_LABEL_VIDEO_SHADER_PRESET:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Load Shader Preset. \n"
|
"Load Shader Preset. \n"
|
||||||
" \n"
|
" \n"
|
||||||
" Load a "
|
" Load a "
|
||||||
#ifdef HAVE_CG
|
#ifdef HAVE_CG
|
||||||
@ -2242,7 +2242,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
|
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Scale for this pass. \n"
|
"Scale for this pass. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"The scale factor accumulates, i.e. 2x \n"
|
"The scale factor accumulates, i.e. 2x \n"
|
||||||
"for first pass and 2x for second pass \n"
|
"for first pass and 2x for second pass \n"
|
||||||
@ -2261,7 +2261,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
|
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Shader Passes. \n"
|
"Shader Passes. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"RetroArch allows you to mix and match various \n"
|
"RetroArch allows you to mix and match various \n"
|
||||||
"shaders with arbitrary shader passes, with \n"
|
"shaders with arbitrary shader passes, with \n"
|
||||||
@ -2276,21 +2276,21 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
|
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Shader Parameters. \n"
|
"Shader Parameters. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Modifies current shader directly. Will not be \n"
|
"Modifies current shader directly. Will not be \n"
|
||||||
"saved to CGP/GLSLP preset file.");
|
"saved to CGP/GLSLP preset file.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
|
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Shader Preset Parameters. \n"
|
"Shader Preset Parameters. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Modifies shader preset currently in menu."
|
"Modifies shader preset currently in menu."
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_PASS:
|
case MENU_LABEL_VIDEO_SHADER_PASS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Path to shader. \n"
|
"Path to shader. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"All shaders must be of the same \n"
|
"All shaders must be of the same \n"
|
||||||
"type (i.e. CG, GLSL or HLSL). \n"
|
"type (i.e. CG, GLSL or HLSL). \n"
|
||||||
@ -2302,7 +2302,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_CONFIG_SAVE_ON_EXIT:
|
case MENU_LABEL_CONFIG_SAVE_ON_EXIT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Saves config to disk on exit.\n"
|
"Saves config to disk on exit.\n"
|
||||||
"Useful for menu as settings can be\n"
|
"Useful for menu as settings can be\n"
|
||||||
"modified. Overwrites the config.\n"
|
"modified. Overwrites the config.\n"
|
||||||
" \n"
|
" \n"
|
||||||
@ -2324,7 +2324,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
|
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Hardware filter for this pass. \n"
|
"Hardware filter for this pass. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"If 'Don't Care' is set, 'Default \n"
|
"If 'Don't Care' is set, 'Default \n"
|
||||||
"Filter' will be used."
|
"Filter' will be used."
|
||||||
@ -2332,7 +2332,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUTOSAVE_INTERVAL:
|
case MENU_LABEL_AUTOSAVE_INTERVAL:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Autosaves the non-volatile SRAM \n"
|
"Autosaves the non-volatile SRAM \n"
|
||||||
"at a regular interval.\n"
|
"at a regular interval.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"This is disabled by default unless set \n"
|
"This is disabled by default unless set \n"
|
||||||
@ -2343,7 +2343,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_BIND_DEVICE_TYPE:
|
case MENU_LABEL_INPUT_BIND_DEVICE_TYPE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Input Device Type. \n"
|
"Input Device Type. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Picks which device type to use. This is \n"
|
"Picks which device type to use. This is \n"
|
||||||
"relevant for the libretro core itself."
|
"relevant for the libretro core itself."
|
||||||
@ -2351,7 +2351,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_LIBRETRO_LOG_LEVEL:
|
case MENU_LABEL_LIBRETRO_LOG_LEVEL:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Sets log level for libretro cores \n"
|
"Sets log level for libretro cores \n"
|
||||||
"(GET_LOG_INTERFACE). \n"
|
"(GET_LOG_INTERFACE). \n"
|
||||||
" \n"
|
" \n"
|
||||||
" If a log level issued by a libretro \n"
|
" If a log level issued by a libretro \n"
|
||||||
@ -2370,7 +2370,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
case MENU_LABEL_STATE_SLOT_INCREASE:
|
case MENU_LABEL_STATE_SLOT_INCREASE:
|
||||||
case MENU_LABEL_STATE_SLOT_DECREASE:
|
case MENU_LABEL_STATE_SLOT_DECREASE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- State slots.\n"
|
"State slots.\n"
|
||||||
" \n"
|
" \n"
|
||||||
" With slot set to 0, save state name is *.state \n"
|
" With slot set to 0, save state name is *.state \n"
|
||||||
" (or whatever defined on commandline).\n"
|
" (or whatever defined on commandline).\n"
|
||||||
@ -2379,7 +2379,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_SHADER_APPLY_CHANGES:
|
case MENU_LABEL_SHADER_APPLY_CHANGES:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Apply Shader Changes. \n"
|
"Apply Shader Changes. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"After changing shader settings, use this to \n"
|
"After changing shader settings, use this to \n"
|
||||||
"apply changes. \n"
|
"apply changes. \n"
|
||||||
@ -2397,7 +2397,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_BIND_DEVICE_ID:
|
case MENU_LABEL_INPUT_BIND_DEVICE_ID:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Input Device. \n"
|
"Input Device. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Picks which gamepad to use for user N. \n"
|
"Picks which gamepad to use for user N. \n"
|
||||||
"The name of the pad is available."
|
"The name of the pad is available."
|
||||||
@ -2405,11 +2405,11 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_MENU_TOGGLE:
|
case MENU_LABEL_MENU_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggles menu.");
|
"Toggles menu.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_GRAB_MOUSE_TOGGLE:
|
case MENU_LABEL_GRAB_MOUSE_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggles mouse grab.\n"
|
"Toggles mouse grab.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"When mouse is grabbed, RetroArch hides the \n"
|
"When mouse is grabbed, RetroArch hides the \n"
|
||||||
"mouse, and keeps the mouse pointer inside \n"
|
"mouse, and keeps the mouse pointer inside \n"
|
||||||
@ -2418,7 +2418,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_DISK_NEXT:
|
case MENU_LABEL_DISK_NEXT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Cycles through disk images. Use after \n"
|
"Cycles through disk images. Use after \n"
|
||||||
"ejecting. \n"
|
"ejecting. \n"
|
||||||
" \n"
|
" \n"
|
||||||
" Complete by toggling eject again.");
|
" Complete by toggling eject again.");
|
||||||
@ -2426,17 +2426,17 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
case MENU_LABEL_VIDEO_FILTER:
|
case MENU_LABEL_VIDEO_FILTER:
|
||||||
#ifdef HAVE_FILTERS_BUILTIN
|
#ifdef HAVE_FILTERS_BUILTIN
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- CPU-based video filter.");
|
"CPU-based video filter.");
|
||||||
#else
|
#else
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- CPU-based video filter.\n"
|
"CPU-based video filter.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Path to a dynamic library.");
|
"Path to a dynamic library.");
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_DEVICE:
|
case MENU_LABEL_AUDIO_DEVICE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Override the default audio device \n"
|
"Override the default audio device \n"
|
||||||
"the audio driver uses.\n"
|
"the audio driver uses.\n"
|
||||||
"This is driver dependent. E.g.\n"
|
"This is driver dependent. E.g.\n"
|
||||||
#ifdef HAVE_ALSA
|
#ifdef HAVE_ALSA
|
||||||
@ -2461,13 +2461,13 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_DISK_EJECT_TOGGLE:
|
case MENU_LABEL_DISK_EJECT_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggles eject for disks.\n"
|
"Toggles eject for disks.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Used for multiple-disk content.");
|
"Used for multiple-disk content.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_ENABLE_HOTKEY:
|
case MENU_LABEL_ENABLE_HOTKEY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Enable other hotkeys.\n"
|
"Enable other hotkeys.\n"
|
||||||
" \n"
|
" \n"
|
||||||
" If this hotkey is bound to either keyboard, \n"
|
" If this hotkey is bound to either keyboard, \n"
|
||||||
"joybutton or joyaxis, all other hotkeys will \n"
|
"joybutton or joyaxis, all other hotkeys will \n"
|
||||||
@ -2481,21 +2481,21 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_REWIND_ENABLE:
|
case MENU_LABEL_REWIND_ENABLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Enable rewinding.\n"
|
"Enable rewinding.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"This will take a performance hit, \n"
|
"This will take a performance hit, \n"
|
||||||
"so it is disabled by default.");
|
"so it is disabled by default.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_LIBRETRO_DIR_PATH:
|
case MENU_LABEL_LIBRETRO_DIR_PATH:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Core Directory. \n"
|
"Core Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"A directory for where to search for \n"
|
"A directory for where to search for \n"
|
||||||
"libretro core implementations.");
|
"libretro core implementations.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
|
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Refresh Rate Auto.\n"
|
"Refresh Rate Auto.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"The accurate refresh rate of our monitor (Hz).\n"
|
"The accurate refresh rate of our monitor (Hz).\n"
|
||||||
"This is used to calculate audio input rate with \n"
|
"This is used to calculate audio input rate with \n"
|
||||||
@ -2515,7 +2515,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_ROTATION:
|
case MENU_LABEL_VIDEO_ROTATION:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Forces a certain rotation \n"
|
"Forces a certain rotation \n"
|
||||||
"of the screen.\n"
|
"of the screen.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"The rotation is added to rotations which\n"
|
"The rotation is added to rotations which\n"
|
||||||
@ -2524,14 +2524,14 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SCALE:
|
case MENU_LABEL_VIDEO_SCALE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Fullscreen resolution.\n"
|
"Fullscreen resolution.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Resolution of 0 uses the \n"
|
"Resolution of 0 uses the \n"
|
||||||
"resolution of the environment.\n");
|
"resolution of the environment.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_FASTFORWARD_RATIO:
|
case MENU_LABEL_FASTFORWARD_RATIO:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Fastforward ratio."
|
"Fastforward ratio."
|
||||||
" \n"
|
" \n"
|
||||||
"The maximum rate at which content will\n"
|
"The maximum rate at which content will\n"
|
||||||
"be run when using fast forward.\n"
|
"be run when using fast forward.\n"
|
||||||
@ -2546,7 +2546,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_MONITOR_INDEX:
|
case MENU_LABEL_VIDEO_MONITOR_INDEX:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Which monitor to prefer.\n"
|
"Which monitor to prefer.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"0 (default) means no particular monitor \n"
|
"0 (default) means no particular monitor \n"
|
||||||
"is preferred, 1 and up (1 being first \n"
|
"is preferred, 1 and up (1 being first \n"
|
||||||
@ -2555,7 +2555,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_CROP_OVERSCAN:
|
case MENU_LABEL_VIDEO_CROP_OVERSCAN:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Forces cropping of overscanned \n"
|
"Forces cropping of overscanned \n"
|
||||||
"frames.\n"
|
"frames.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Exact behavior of this option is \n"
|
"Exact behavior of this option is \n"
|
||||||
@ -2563,7 +2563,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SCALE_INTEGER:
|
case MENU_LABEL_VIDEO_SCALE_INTEGER:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Only scales video in integer \n"
|
"Only scales video in integer \n"
|
||||||
"steps.\n"
|
"steps.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"The base size depends on system-reported \n"
|
"The base size depends on system-reported \n"
|
||||||
@ -2574,7 +2574,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_VOLUME:
|
case MENU_LABEL_AUDIO_VOLUME:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Audio volume, expressed in dB.\n"
|
"Audio volume, expressed in dB.\n"
|
||||||
" \n"
|
" \n"
|
||||||
" 0 dB is normal volume. No gain will be applied.\n"
|
" 0 dB is normal volume. No gain will be applied.\n"
|
||||||
"Gain can be controlled in runtime with Input\n"
|
"Gain can be controlled in runtime with Input\n"
|
||||||
@ -2582,7 +2582,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_RATE_CONTROL_DELTA:
|
case MENU_LABEL_AUDIO_RATE_CONTROL_DELTA:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Audio rate control.\n"
|
"Audio rate control.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Setting this to 0 disables rate control.\n"
|
"Setting this to 0 disables rate control.\n"
|
||||||
"Any other value controls audio rate control \n"
|
"Any other value controls audio rate control \n"
|
||||||
@ -2596,7 +2596,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_MAX_TIMING_SKEW:
|
case MENU_LABEL_AUDIO_MAX_TIMING_SKEW:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Maximum audio timing skew.\n"
|
"Maximum audio timing skew.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Defines the maximum change in input rate.\n"
|
"Defines the maximum change in input rate.\n"
|
||||||
"You may want to increase this to enable\n"
|
"You may want to increase this to enable\n"
|
||||||
@ -2609,36 +2609,36 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_OVERLAY_NEXT:
|
case MENU_LABEL_OVERLAY_NEXT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggles to next overlay.\n"
|
"Toggles to next overlay.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Wraps around.");
|
"Wraps around.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_LOG_VERBOSITY:
|
case MENU_LABEL_LOG_VERBOSITY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Enable or disable verbosity level \n"
|
"Enable or disable verbosity level \n"
|
||||||
"of frontend.");
|
"of frontend.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VOLUME_UP:
|
case MENU_LABEL_VOLUME_UP:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Increases audio volume.");
|
"Increases audio volume.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VOLUME_DOWN:
|
case MENU_LABEL_VOLUME_DOWN:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Decreases audio volume.");
|
"Decreases audio volume.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_DISABLE_COMPOSITION:
|
case MENU_LABEL_VIDEO_DISABLE_COMPOSITION:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Forcibly disable composition.\n"
|
"Forcibly disable composition.\n"
|
||||||
"Only valid on Windows Vista/7 for now.");
|
"Only valid on Windows Vista/7 for now.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_PERFCNT_ENABLE:
|
case MENU_LABEL_PERFCNT_ENABLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- Enable or disable frontend \n"
|
"Enable or disable frontend \n"
|
||||||
"performance counters.");
|
"performance counters.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SYSTEM_DIRECTORY:
|
case MENU_LABEL_SYSTEM_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
"-- System Directory. \n"
|
"System Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Sets the 'system' directory.\n"
|
"Sets the 'system' directory.\n"
|
||||||
"Cores can query for this\n"
|
"Cores can query for this\n"
|
||||||
@ -2647,7 +2647,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
|
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Automatically saves a savestate at the \n"
|
"Automatically saves a savestate at the \n"
|
||||||
"end of RetroArch's lifetime.\n"
|
"end of RetroArch's lifetime.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"RetroArch will automatically load any savestate\n"
|
"RetroArch will automatically load any savestate\n"
|
||||||
@ -2656,7 +2656,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_THREADED:
|
case MENU_LABEL_VIDEO_THREADED:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Use threaded video driver.\n"
|
"Use threaded video driver.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Using this might improve performance at \n"
|
"Using this might improve performance at \n"
|
||||||
"possible cost of latency and more video \n"
|
"possible cost of latency and more video \n"
|
||||||
@ -2664,11 +2664,11 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_VSYNC:
|
case MENU_LABEL_VIDEO_VSYNC:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Video V-Sync.\n");
|
"Video V-Sync.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_HARD_SYNC:
|
case MENU_LABEL_VIDEO_HARD_SYNC:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Attempts to hard-synchronize \n"
|
"Attempts to hard-synchronize \n"
|
||||||
"CPU and GPU.\n"
|
"CPU and GPU.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Can reduce latency at cost of \n"
|
"Can reduce latency at cost of \n"
|
||||||
@ -2676,7 +2676,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_REWIND_GRANULARITY:
|
case MENU_LABEL_REWIND_GRANULARITY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Rewind granularity.\n"
|
"Rewind granularity.\n"
|
||||||
" \n"
|
" \n"
|
||||||
" When rewinding defined number of \n"
|
" When rewinding defined number of \n"
|
||||||
"frames, you can rewind several frames \n"
|
"frames, you can rewind several frames \n"
|
||||||
@ -2685,11 +2685,11 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_SCREENSHOT:
|
case MENU_LABEL_SCREENSHOT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Take screenshot.");
|
"Take screenshot.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_FRAME_DELAY:
|
case MENU_LABEL_VIDEO_FRAME_DELAY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Sets how many milliseconds to delay\n"
|
"Sets how many milliseconds to delay\n"
|
||||||
"after VSync before running the core.\n"
|
"after VSync before running the core.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Can reduce latency at cost of\n"
|
"Can reduce latency at cost of\n"
|
||||||
@ -2699,7 +2699,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_HARD_SYNC_FRAMES:
|
case MENU_LABEL_VIDEO_HARD_SYNC_FRAMES:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Sets how many frames CPU can \n"
|
"Sets how many frames CPU can \n"
|
||||||
"run ahead of GPU when using 'GPU \n"
|
"run ahead of GPU when using 'GPU \n"
|
||||||
"Hard Sync'.\n"
|
"Hard Sync'.\n"
|
||||||
" \n"
|
" \n"
|
||||||
@ -2711,7 +2711,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION:
|
case MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Inserts a black frame inbetween \n"
|
"Inserts a black frame inbetween \n"
|
||||||
"frames.\n"
|
"frames.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Useful for 120 Hz monitors who want to \n"
|
"Useful for 120 Hz monitors who want to \n"
|
||||||
@ -2724,7 +2724,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_RGUI_SHOW_START_SCREEN:
|
case MENU_LABEL_RGUI_SHOW_START_SCREEN:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Show startup screen in menu.\n"
|
"Show startup screen in menu.\n"
|
||||||
"Is automatically set to false when seen\n"
|
"Is automatically set to false when seen\n"
|
||||||
"for the first time.\n"
|
"for the first time.\n"
|
||||||
" \n"
|
" \n"
|
||||||
@ -2733,46 +2733,46 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_CORE_SPECIFIC_CONFIG:
|
case MENU_LABEL_CORE_SPECIFIC_CONFIG:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Load up a specific config file \n"
|
"Load up a specific config file \n"
|
||||||
"based on the core being used.\n");
|
"based on the core being used.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_FULLSCREEN:
|
case MENU_LABEL_VIDEO_FULLSCREEN:
|
||||||
snprintf(s, len, " -- Toggles fullscreen.");
|
snprintf(s, len, "Toggles fullscreen.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_BLOCK_SRAM_OVERWRITE:
|
case MENU_LABEL_BLOCK_SRAM_OVERWRITE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Block SRAM from being overwritten \n"
|
"Block SRAM from being overwritten \n"
|
||||||
"when loading save states.\n"
|
"when loading save states.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Might potentially lead to buggy games.");
|
"Might potentially lead to buggy games.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_PAUSE_NONACTIVE:
|
case MENU_LABEL_PAUSE_NONACTIVE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Pause gameplay when window focus \n"
|
"Pause gameplay when window focus \n"
|
||||||
"is lost.");
|
"is lost.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_GPU_SCREENSHOT:
|
case MENU_LABEL_VIDEO_GPU_SCREENSHOT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Screenshots output of GPU shaded \n"
|
"Screenshots output of GPU shaded \n"
|
||||||
"material if available.");
|
"material if available.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SCREENSHOT_DIRECTORY:
|
case MENU_LABEL_SCREENSHOT_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Screenshot Directory. \n"
|
"Screenshot Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Directory to dump screenshots to."
|
"Directory to dump screenshots to."
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_VIDEO_SWAP_INTERVAL:
|
case MENU_LABEL_VIDEO_SWAP_INTERVAL:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- VSync Swap Interval.\n"
|
"VSync Swap Interval.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Uses a custom swap interval for VSync. Set this \n"
|
"Uses a custom swap interval for VSync. Set this \n"
|
||||||
"to effectively halve monitor refresh rate.");
|
"to effectively halve monitor refresh rate.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SAVEFILE_DIRECTORY:
|
case MENU_LABEL_SAVEFILE_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Savefile Directory. \n"
|
"Savefile Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Save all save files (*.srm) to this \n"
|
"Save all save files (*.srm) to this \n"
|
||||||
"directory. This includes related files like \n"
|
"directory. This includes related files like \n"
|
||||||
@ -2783,7 +2783,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_SAVESTATE_DIRECTORY:
|
case MENU_LABEL_SAVESTATE_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Savestate Directory. \n"
|
"Savestate Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
"Save all save states (*.state) to this \n"
|
"Save all save states (*.state) to this \n"
|
||||||
"directory.\n"
|
"directory.\n"
|
||||||
@ -2793,7 +2793,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_ASSETS_DIRECTORY:
|
case MENU_LABEL_ASSETS_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Assets Directory. \n"
|
"Assets Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
" This location is queried by default when \n"
|
" This location is queried by default when \n"
|
||||||
"menu interfaces try to look for loadable \n"
|
"menu interfaces try to look for loadable \n"
|
||||||
@ -2801,7 +2801,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
|
case MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Dynamic Wallpapers Directory. \n"
|
"Dynamic Wallpapers Directory. \n"
|
||||||
" \n"
|
" \n"
|
||||||
" The place to store wallpapers that will \n"
|
" The place to store wallpapers that will \n"
|
||||||
"be loaded dynamically by the menu depending \n"
|
"be loaded dynamically by the menu depending \n"
|
||||||
@ -2809,14 +2809,14 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_SLOWMOTION_RATIO:
|
case MENU_LABEL_SLOWMOTION_RATIO:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Slowmotion ratio."
|
"Slowmotion ratio."
|
||||||
" \n"
|
" \n"
|
||||||
"When slowmotion, content will slow\n"
|
"When slowmotion, content will slow\n"
|
||||||
"down by factor.");
|
"down by factor.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_AXIS_THRESHOLD:
|
case MENU_LABEL_INPUT_AXIS_THRESHOLD:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Defines axis threshold.\n"
|
"Defines axis threshold.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"How far an axis must be tilted to result\n"
|
"How far an axis must be tilted to result\n"
|
||||||
"in a button press.\n"
|
"in a button press.\n"
|
||||||
@ -2824,7 +2824,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_TURBO_PERIOD:
|
case MENU_LABEL_INPUT_TURBO_PERIOD:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Turbo period.\n"
|
"Turbo period.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Describes speed of which turbo-enabled\n"
|
"Describes speed of which turbo-enabled\n"
|
||||||
"buttons toggle."
|
"buttons toggle."
|
||||||
@ -2832,24 +2832,24 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_INPUT_AUTODETECT_ENABLE:
|
case MENU_LABEL_INPUT_AUTODETECT_ENABLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Enable input auto-detection.\n"
|
"Enable input auto-detection.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Will attempt to auto-configure \n"
|
"Will attempt to auto-configure \n"
|
||||||
"joypads, Plug-and-Play style.");
|
"joypads, Plug-and-Play style.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_CAMERA_ALLOW:
|
case MENU_LABEL_CAMERA_ALLOW:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Allow or disallow camera access by \n"
|
"Allow or disallow camera access by \n"
|
||||||
"cores.");
|
"cores.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_LOCATION_ALLOW:
|
case MENU_LABEL_LOCATION_ALLOW:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Allow or disallow location services \n"
|
"Allow or disallow location services \n"
|
||||||
"access by cores.");
|
"access by cores.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_TURBO:
|
case MENU_LABEL_TURBO:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Turbo enable.\n"
|
"Turbo enable.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Holding the turbo while pressing another \n"
|
"Holding the turbo while pressing another \n"
|
||||||
"button will let the button enter a turbo \n"
|
"button will let the button enter a turbo \n"
|
||||||
@ -2861,21 +2861,21 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_OSK_ENABLE:
|
case MENU_LABEL_OSK_ENABLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Enable/disable on-screen keyboard.");
|
"Enable/disable on-screen keyboard.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_AUDIO_MUTE:
|
case MENU_LABEL_AUDIO_MUTE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Mute/unmute audio.");
|
"Mute/unmute audio.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_REWIND:
|
case MENU_LABEL_REWIND:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Hold button down to rewind.\n"
|
"Hold button down to rewind.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Rewind must be enabled.");
|
"Rewind must be enabled.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_EXIT_EMULATOR:
|
case MENU_LABEL_EXIT_EMULATOR:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Key to exit RetroArch cleanly."
|
"Key to exit RetroArch cleanly."
|
||||||
#if !defined(RARCH_MOBILE) && !defined(RARCH_CONSOLE)
|
#if !defined(RARCH_MOBILE) && !defined(RARCH_CONSOLE)
|
||||||
"\nKilling it in any hard way (SIGKILL, \n"
|
"\nKilling it in any hard way (SIGKILL, \n"
|
||||||
"etc) will terminate without saving\n"
|
"etc) will terminate without saving\n"
|
||||||
@ -2887,60 +2887,60 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
break;
|
break;
|
||||||
case MENU_LABEL_LOAD_STATE:
|
case MENU_LABEL_LOAD_STATE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Loads state.");
|
"Loads state.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SAVE_STATE:
|
case MENU_LABEL_SAVE_STATE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Saves state.");
|
"Saves state.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_NETPLAY_FLIP_PLAYERS:
|
case MENU_LABEL_NETPLAY_FLIP_PLAYERS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Netplay flip users.");
|
"Netplay flip users.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_CHEAT_INDEX_PLUS:
|
case MENU_LABEL_CHEAT_INDEX_PLUS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Increment cheat index.\n");
|
"Increment cheat index.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_CHEAT_INDEX_MINUS:
|
case MENU_LABEL_CHEAT_INDEX_MINUS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Decrement cheat index.\n");
|
"Decrement cheat index.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SHADER_PREV:
|
case MENU_LABEL_SHADER_PREV:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Applies previous shader in directory.");
|
"Applies previous shader in directory.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SHADER_NEXT:
|
case MENU_LABEL_SHADER_NEXT:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Applies next shader in directory.");
|
"Applies next shader in directory.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_RESET:
|
case MENU_LABEL_RESET:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Reset the content.\n");
|
"Reset the content.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_PAUSE_TOGGLE:
|
case MENU_LABEL_PAUSE_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggle between paused and non-paused state.");
|
"Toggle between paused and non-paused state.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_CHEAT_TOGGLE:
|
case MENU_LABEL_CHEAT_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggle cheat index.\n");
|
"Toggle cheat index.\n");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_HOLD_FAST_FORWARD:
|
case MENU_LABEL_HOLD_FAST_FORWARD:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Hold for fast-forward. Releasing button \n"
|
"Hold for fast-forward. Releasing button \n"
|
||||||
"disables fast-forward.");
|
"disables fast-forward.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_SLOWMOTION:
|
case MENU_LABEL_SLOWMOTION:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Hold for slowmotion.");
|
"Hold for slowmotion.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_FRAME_ADVANCE:
|
case MENU_LABEL_FRAME_ADVANCE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Frame advance when content is paused.");
|
"Frame advance when content is paused.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_MOVIE_RECORD_TOGGLE:
|
case MENU_LABEL_MOVIE_RECORD_TOGGLE:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Toggle between recording and not.");
|
"Toggle between recording and not.");
|
||||||
break;
|
break;
|
||||||
case MENU_LABEL_L_X_PLUS:
|
case MENU_LABEL_L_X_PLUS:
|
||||||
case MENU_LABEL_L_X_MINUS:
|
case MENU_LABEL_L_X_MINUS:
|
||||||
@ -2951,7 +2951,7 @@ static int setting_get_description_compare_label(uint32_t label_hash,
|
|||||||
case MENU_LABEL_R_Y_PLUS:
|
case MENU_LABEL_R_Y_PLUS:
|
||||||
case MENU_LABEL_R_Y_MINUS:
|
case MENU_LABEL_R_Y_MINUS:
|
||||||
snprintf(s, len,
|
snprintf(s, len,
|
||||||
" -- Axis for analog stick (DualShock-esque).\n"
|
"Axis for analog stick (DualShock-esque).\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Bound as usual, however, if a real analog \n"
|
"Bound as usual, however, if a real analog \n"
|
||||||
"axis is bound, it can be read as a true analog.\n"
|
"axis is bound, it can be read as a true analog.\n"
|
||||||
@ -2987,8 +2987,7 @@ int setting_get_description(const char *label, char *s,
|
|||||||
if (setting_get_description_compare_label(label_hash, settings, s, len) == 0)
|
if (setting_get_description_compare_label(label_hash, settings, s, len) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
snprintf(s, len,
|
strlcpy(s, "No information is available.", len);
|
||||||
"-- No information is available. --\n");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user