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