RetroArch/menu/menu_hash.c
2015-06-21 01:59:43 +02:00

1262 lines
49 KiB
C

/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2015 - Daniel De Matteis
*
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <string.h>
#include <rhash.h>
#include "menu_hash.h"
#include "../configuration.h"
static const char *menu_hash_to_str_german(uint32_t hash)
{
switch (hash)
{
default:
break;
}
return "null";
}
static const char *menu_hash_to_str_french(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_AUDIO_BLOCK_FRAMES:
return "audio_block_frames";
case MENU_LABEL_VALUE_AUDIO_BLOCK_FRAMES:
return "Block Frames";
case MENU_LABEL_SYSTEM_BGM_ENABLE:
return "system_bgm_enable";
case MENU_LABEL_VALUE_SYSTEM_BGM_ENABLE:
return "System BGM Enable";
case MENU_LABEL_AUTOCONFIG_DESCRIPTOR_LABEL_SHOW:
return "autoconfig_descriptor_label_show";
case MENU_LABEL_VALUE_AUTOCONFIG_DESCRIPTOR_LABEL_SHOW:
return "Display Autoconfig Descriptor Labels";
case MENU_LABEL_INPUT_DESCRIPTOR_LABEL_SHOW:
return "input_descriptor_label_show";
case MENU_LABEL_VALUE_INPUT_DESCRIPTOR_LABEL_SHOW:
return "Display Core Input Descriptor Labels";
case MENU_LABEL_INPUT_DESCRIPTOR_HIDE_UNBOUND:
return "input_descriptor_hide_unbound";
case MENU_LABEL_VALUE_INPUT_DESCRIPTOR_HIDE_UNBOUND:
return "Hide Unbound Core Input Descriptors";
case MENU_VALUE_RETROPAD:
return "RetroPad";
case MENU_VALUE_RETROKEYBOARD:
return "RetroKeyboard";
case MENU_LABEL_INPUT_BIND_MODE:
return "input_bind_mode";
case MENU_LABEL_VALUE_INPUT_BIND_MODE:
return "Bind Mode";
case MENU_LABEL_VALUE_VIDEO_SMOOTH:
return "Filtre bilineaire (HW)";
case MENU_LABEL_VALUE_VIDEO_GAMMA:
return "Gamma";
case MENU_LABEL_VALUE_VIDEO_ALLOW_ROTATE:
return "Autoriser la rotation";
case MENU_LABEL_VALUE_VIDEO_HARD_SYNC:
return "Synchroniser le GPU au CPU";
case MENU_LABEL_VALUE_VIDEO_SWAP_INTERVAL:
return "Intervale de synchro verticale";
case MENU_LABEL_VALUE_VIDEO_VSYNC:
return "Synchronisation verticale";
case MENU_LABEL_VALUE_VIDEO_THREADED:
return "Threader l'affichage";
case MENU_LABEL_VALUE_VIDEO_ROTATION:
return "Rotation";
case MENU_LABEL_VALUE_VIDEO_CROP_OVERSCAN:
return "Tronquer l'overscan (Reload)";
case MENU_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION:
return "Inserer des images noires";
case MENU_LABEL_VALUE_SORT_SAVEFILES_ENABLE:
return "Classer les sauvegardes par dossier";
case MENU_LABEL_VALUE_SORT_SAVESTATES_ENABLE:
return "Classer les sauvegardes d'etat par dossier";
case MENU_LABEL_VALUE_VIDEO_FULLSCREEN:
return "Plein ecran";
case MENU_LABEL_VALUE_VIDEO_SCALE:
return "Zoom (en fenetre)";
case MENU_LABEL_VALUE_VIDEO_SCALE_INTEGER:
return "Aligner aux pixels de l'ecran";
case MENU_LABEL_VALUE_PERFCNT_ENABLE:
return "Compteurs de performance";
case MENU_LABEL_VALUE_LIBRETRO_LOG_LEVEL:
return "Niveau de log des cores";
case MENU_LABEL_VALUE_LOG_VERBOSITY:
return "Logs verbeux";
case MENU_LABEL_VALUE_SAVESTATE_AUTO_LOAD:
return "Auto Load State"; // TODO
case MENU_LABEL_VALUE_SAVESTATE_AUTO_INDEX:
return "Indice automatique de sauvegarde d'etat";
case MENU_LABEL_VALUE_SAVESTATE_AUTO_SAVE:
return "Sauvegarde automatique";
case MENU_LABEL_VALUE_AUTOSAVE_INTERVAL:
return "Intervale de sauvegarde SaveRAM";
case MENU_LABEL_VALUE_BLOCK_SRAM_OVERWRITE:
return "Ne pas ecraser la SaveRAM en chargeant l'etat";
case MENU_LABEL_VALUE_VIDEO_SHARED_CONTEXT:
return "Partager le contexte materiel";
case MENU_LABEL_VALUE_RESTART_RETROARCH:
return "Redemarrer RetroArch";
case MENU_LABEL_VALUE_NETPLAY_NICKNAME:
return "Nom d'utilisateur";
case MENU_LABEL_VALUE_USER_LANGUAGE:
return "Langue";
case MENU_LABEL_VALUE_CAMERA_ALLOW:
return "Autoriser la camera";
case MENU_LABEL_VALUE_LOCATION_ALLOW:
return "Autoriser la localisation";
case MENU_LABEL_VALUE_PAUSE_LIBRETRO:
return "Pause quand le menu est active";
case MENU_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE:
return "Afficher l'Overlay Clavier";
case MENU_LABEL_VALUE_INPUT_OVERLAY_ENABLE:
return "Activer les Overlays";
case MENU_LABEL_VALUE_VIDEO_MONITOR_INDEX:
return "Ecran a utiliser";
case MENU_LABEL_VALUE_VIDEO_FRAME_DELAY:
return "Delai d'image";
case MENU_LABEL_VALUE_INPUT_DUTY_CYCLE:
return "Rapport de cycle";
case MENU_LABEL_VALUE_INPUT_TURBO_PERIOD:
return "Delai du turbo";
case MENU_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "Seuil des axes";
case MENU_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE:
return "Autoriser le remapping des entrees";
case MENU_LABEL_VALUE_INPUT_MAX_USERS:
return "Nombre d'utilisateurs";
case MENU_LABEL_VALUE_INPUT_AUTODETECT_ENABLE:
return "Activer l'autoconfiguration";
case MENU_LABEL_VALUE_AUDIO_OUTPUT_RATE:
return "Frequence de sortie (KHz)";
case MENU_LABEL_VALUE_AUDIO_MAX_TIMING_SKEW:
return "Limite max de l'ajustement";
case MENU_LABEL_VALUE_CHEAT_NUM_PASSES:
return "Nombre d'etapes de triche";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_CORE:
return "Charger un fichier Remap de core";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_GAME:
return "Charger un fichier Remap de jeu";
case MENU_LABEL_VALUE_CHEAT_APPLY_CHANGES:
return "Appliquer les changements";
case MENU_LABEL_VALUE_SHADER_APPLY_CHANGES:
return "Appliquer les changements";
case MENU_LABEL_VALUE_REWIND_ENABLE:
return "Activer le rembobinage";
case MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST:
return "Charger un contenu (Collections)";
case MENU_LABEL_VALUE_DETECT_CORE_LIST:
return "Charger un contenu (Detect core)";
case MENU_LABEL_VALUE_LOAD_CONTENT_HISTORY:
return "Charger un contenu (Historique)";
case MENU_LABEL_VALUE_AUDIO_ENABLE:
return "Activer le son";
case MENU_LABEL_VALUE_FPS_SHOW:
return "Afficher le FPS";
case MENU_LABEL_VALUE_AUDIO_MUTE:
return "Muet";
case MENU_LABEL_VALUE_AUDIO_VOLUME:
return "Volume sonnore (dB)";
case MENU_LABEL_VALUE_AUDIO_SYNC:
return "Synchroniser le son";
case MENU_LABEL_VALUE_AUDIO_RATE_CONTROL_DELTA:
return "Delta du taux de controle";
case MENU_LABEL_VALUE_VIDEO_SHADER_NUM_PASSES:
return "Nombre d'etapes de Shader";
case MENU_LABEL_VALUE_CONFIGURATIONS:
return "Fichiers de configuration";
case MENU_LABEL_VALUE_REWIND_GRANULARITY:
return "Precision du rembobinage";
case MENU_LABEL_VALUE_REMAP_FILE_LOAD:
return "Charger un fichier de Remap";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_AS:
return "Enregistrer un fichier de Remap sous";
case MENU_LABEL_VALUE_CUSTOM_RATIO:
return "Forcer une resolution";
case MENU_LABEL_VALUE_USE_THIS_DIRECTORY:
return "<Choisir ce dossier>";
case MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT:
return "Lancer le contenu";
case MENU_LABEL_VALUE_DISK_OPTIONS:
return "Options de disques";
case MENU_LABEL_VALUE_CORE_OPTIONS:
return "Options du core";
case MENU_LABEL_VALUE_CORE_CHEAT_OPTIONS:
return "Options de triche";
case MENU_LABEL_VALUE_TAKE_SCREENSHOT:
return "Capturer l ecran";
case MENU_LABEL_VALUE_RESUME:
return "Reprendre";
case MENU_LABEL_VALUE_DISK_INDEX:
return "Numero du disque";
case MENU_LABEL_VALUE_FRONTEND_COUNTERS:
return "Compteurs du Frontend";
case MENU_LABEL_VALUE_DISK_IMAGE_APPEND:
return "Ajouter une image de disque";
case MENU_LABEL_VALUE_DISK_CYCLE_TRAY_STATUS:
return "Etat du lecteur de disque";
case MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE:
return "Playlist vide.";
case MENU_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE:
return "Pad d'informations disponibles.";
case MENU_LABEL_VALUE_NO_CORE_OPTIONS_AVAILABLE:
return "Pas d'options disponibles.";
case MENU_LABEL_VALUE_NO_CORES_AVAILABLE:
return "Aucun core disponible.";
case MENU_VALUE_NO_CORE:
return "Aucun core";
case MENU_LABEL_VALUE_DATABASE_MANAGER:
return "Base de donnees";
case MENU_LABEL_VALUE_CURSOR_MANAGER:
return "Curseurs";
case MENU_VALUE_RECORDING_SETTINGS:
return "Reglage de capture video";
case MENU_VALUE_MAIN_MENU:
return "Main Menu";
case MENU_LABEL_VALUE_SETTINGS:
return "Reglages";
case MENU_LABEL_VALUE_QUIT_RETROARCH:
return "Quitter RetroArch";
case MENU_LABEL_VALUE_HELP:
return "Aide";
case MENU_LABEL_VALUE_SAVE_NEW_CONFIG:
return "Sauver nouvelle configuration";
case MENU_LABEL_VALUE_RESTART_CONTENT:
return "Redemarrer le contenu";
case MENU_LABEL_VALUE_CORE_UPDATER_LIST:
return "Mise a jour des cores";
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
return "Informations du systeme";
case MENU_LABEL_VALUE_OPTIONS:
return "Options";
case MENU_LABEL_VALUE_CORE_INFORMATION:
return "Informations sur le core";
case MENU_LABEL_VALUE_DIRECTORY_NOT_FOUND:
return "Dossier non trouve.";
case MENU_LABEL_VALUE_NO_ITEMS:
return "Pas d elements.";
case MENU_LABEL_CORE_LIST:
return "Charger un core";
case MENU_LABEL_VALUE_LOAD_CONTENT:
return "Charger un contenu";
case MENU_LABEL_VALUE_UNLOAD_CORE:
return "Unload core";
case MENU_LABEL_VALUE_MANAGEMENT:
return "Gestion avancee";
case MENU_LABEL_VALUE_SAVE_STATE:
return "Sauvegarder un etat";
case MENU_LABEL_VALUE_LOAD_STATE:
return "Charger un etat";
case MENU_LABEL_VALUE_RESUME_CONTENT:
return "Reprendre";
case MENU_LABEL_DRIVER_SETTINGS:
return "Reglage des pilotes";
case MENU_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE:
return "Impossible de lire l'archive.";
case MENU_LABEL_VALUE_OVERLAY_SCALE:
return "Zoom de l'Overlay";
case MENU_LABEL_VALUE_OVERLAY_PRESET:
return "Prereglages d'Overlay";
case MENU_LABEL_VALUE_AUDIO_LATENCY:
return "Latence audio (ms)";
case MENU_LABEL_VALUE_AUDIO_DEVICE:
return "Carte son";
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
return "Prereglages d'Overlay Clavier";
case MENU_LABEL_VALUE_OVERLAY_OPACITY:
return "Transparence de l'Overlay";
case MENU_LABEL_VALUE_MENU_WALLPAPER:
return "Fond d'ecran";
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPER:
return "Fond d'ecran dynamique";
case MENU_LABEL_VALUE_BOXART:
return "Afficher les vignettes";
case MENU_LABEL_VALUE_CORE_INPUT_REMAPPING_OPTIONS:
return "Options de remap d'entrees du core";
case MENU_LABEL_VALUE_VIDEO_OPTIONS:
return "Options video";
case MENU_LABEL_VALUE_SHADER_OPTIONS:
return "Options de Shaders";
case MENU_LABEL_VALUE_NO_SHADER_PARAMETERS:
return "No shader parameters.";
case MENU_LABEL_VALUE_VIDEO_FILTER:
return "Filtre video";
case MENU_LABEL_VALUE_AUDIO_DSP_PLUGIN:
return "Module DSP";
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
return "Telechargement de : ";
case MENU_VALUE_OFF:
return "OFF";
case MENU_VALUE_ON:
return "ON";
default:
break;
}
return "null";
}
static const char *menu_hash_to_str_dutch(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_VALUE_CORE_INFORMATION:
return "Core Informatie";
case MENU_LABEL_CORE_LIST:
return "Laad Core";
case MENU_LABEL_VALUE_SETTINGS:
return "Instellingen";
case MENU_LABEL_VALUE_OPTIONS:
return "Opties";
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
return "Systeem Informatie";
default:
break;
}
return "null";
}
static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_STDIN_CMD_ENABLE:
return "stdin_commands";
case MENU_LABEL_VALUE_STDIN_CMD_ENABLE:
return "stdin Commands";
case MENU_LABEL_VIDEO_DRIVER:
return "video_driver";
case MENU_LABEL_VALUE_VIDEO_DRIVER:
return "Video Driver";
case MENU_LABEL_RECORD_ENABLE:
return "record_enable";
case MENU_LABEL_VALUE_RECORD_ENABLE:
return "Record Enable";
case MENU_LABEL_VIDEO_GPU_RECORD:
return "video_gpu_record";
case MENU_LABEL_VALUE_VIDEO_GPU_RECORD:
return "GPU Record Enable";
case MENU_LABEL_RECORD_PATH:
return "record_path";
case MENU_LABEL_VALUE_RECORD_PATH:
return "Record Path";
case MENU_LABEL_RECORD_USE_OUTPUT_DIRECTORY:
return "record_use_output_directory";
case MENU_LABEL_VALUE_RECORD_USE_OUTPUT_DIRECTORY:
return "Use Output Directory";
case MENU_LABEL_RECORD_CONFIG:
return "record_config";
case MENU_LABEL_VALUE_RECORD_CONFIG:
return "Record Config";
case MENU_LABEL_VIDEO_POST_FILTER_RECORD:
return "video_post_filter_record";
case MENU_LABEL_VALUE_VIDEO_POST_FILTER_RECORD:
return "Post filter record Enable";
case MENU_LABEL_CORE_ASSETS_DIRECTORY:
return "core_assets_directory";
case MENU_LABEL_VALUE_CORE_ASSETS_DIRECTORY:
return "Core Assets Directory";
case MENU_LABEL_ASSETS_DIRECTORY:
return "assets_directory";
case MENU_LABEL_VALUE_ASSETS_DIRECTORY:
return "Assets Directory";
case MENU_LABEL_DYNAMIC_WALLPAPERS_DIRECTORY:
return "dynamic_wallpapers_directory";
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPERS_DIRECTORY:
return "Dynamic Wallpapers Directory";
case MENU_LABEL_BOXARTS_DIRECTORY:
return "boxarts_directory";
case MENU_LABEL_VALUE_BOXARTS_DIRECTORY:
return "Boxarts Directory";
case MENU_LABEL_RGUI_BROWSER_DIRECTORY:
return "rgui_browser_directory";
case MENU_LABEL_VALUE_RGUI_BROWSER_DIRECTORY:
return "Browser Directory";
case MENU_LABEL_RGUI_CONFIG_DIRECTORY:
return "rgui_config_directory";
case MENU_LABEL_VALUE_RGUI_CONFIG_DIRECTORY:
return "Config Directory";
case MENU_LABEL_LIBRETRO_INFO_PATH:
return "libretro_info_path";
case MENU_LABEL_VALUE_LIBRETRO_INFO_PATH:
return "Core Info Directory";
case MENU_LABEL_LIBRETRO_DIR_PATH:
return "libretro_dir_path";
case MENU_LABEL_VALUE_LIBRETRO_DIR_PATH:
return "Core Directory";
case MENU_LABEL_CURSOR_DIRECTORY:
return "cursor_directory";
case MENU_LABEL_VALUE_CURSOR_DIRECTORY:
return "Cursor Directory";
case MENU_LABEL_CONTENT_DATABASE_DIRECTORY:
return "content_database_path";
case MENU_LABEL_VALUE_CONTENT_DATABASE_DIRECTORY:
return "Content Database Directory";
case MENU_LABEL_SYSTEM_DIRECTORY:
return "system_directory";
case MENU_LABEL_VALUE_SYSTEM_DIRECTORY:
return "System Directory";
case MENU_LABEL_EXTRACTION_DIRECTORY:
return "extraction_directory";
case MENU_LABEL_CHEAT_DATABASE_PATH:
return "cheat_database_path";
case MENU_LABEL_VALUE_CHEAT_DATABASE_PATH:
return "Cheat File Directory";
case MENU_LABEL_VALUE_EXTRACTION_DIRECTORY:
return "Extraction Directory";
case MENU_LABEL_AUDIO_FILTER_DIR:
return "audio_filter_dir";
case MENU_LABEL_VALUE_AUDIO_FILTER_DIR:
return "Audio Filter Directory";
case MENU_LABEL_VIDEO_FILTER_DIR:
return "video_filter_dir";
case MENU_LABEL_VIDEO_SHADER_DIR:
return "video_shader_dir";
case MENU_LABEL_VALUE_VIDEO_SHADER_DIR:
return "Video Shader Directory";
case MENU_LABEL_VALUE_VIDEO_FILTER_DIR:
return "Video Filter Directory";
case MENU_LABEL_OVERLAY_DIRECTORY:
return "overlay_directory";
case MENU_LABEL_VALUE_OVERLAY_DIRECTORY:
return "Overlay Directory";
case MENU_LABEL_OSK_OVERLAY_DIRECTORY:
return "osk_overlay_directory";
case MENU_LABEL_VALUE_OSK_OVERLAY_DIRECTORY:
return "OSK Overlay Directory";
case MENU_LABEL_NETPLAY_CLIENT_SWAP_INPUT:
return "netplay_client_swap_input";
case MENU_LABEL_VALUE_NETPLAY_CLIENT_SWAP_INPUT:
return "Swap Netplay Input";
case MENU_LABEL_NETPLAY_SPECTATOR_MODE_ENABLE:
return "netplay_spectator_mode_enable";
case MENU_LABEL_VALUE_NETPLAY_SPECTATOR_MODE_ENABLE:
return "Netplay Spectator Enable";
case MENU_LABEL_NETPLAY_IP_ADDRESS:
return "netplay_ip_address";
case MENU_LABEL_VALUE_NETPLAY_IP_ADDRESS:
return "IP Address";
case MENU_LABEL_NETPLAY_TCP_UDP_PORT:
return "netplay_tcp_udp_port";
case MENU_LABEL_VALUE_NETPLAY_TCP_UDP_PORT:
return "Netplay TCP/UDP Port";
case MENU_LABEL_NETPLAY_ENABLE:
return "netplay_enable";
case MENU_LABEL_VALUE_NETPLAY_ENABLE:
return "Netplay Enable";
case MENU_LABEL_NETPLAY_DELAY_FRAMES:
return "netplay_delay_frames";
case MENU_LABEL_VALUE_NETPLAY_DELAY_FRAMES:
return "Netplay Delay Frames";
case MENU_LABEL_NETPLAY_MODE:
return "netplay_mode";
case MENU_LABEL_VALUE_NETPLAY_MODE:
return "Netplay Client Enable";
case MENU_LABEL_RGUI_SHOW_START_SCREEN:
return "rgui_show_start_screen";
case MENU_LABEL_VALUE_RGUI_SHOW_START_SCREEN:
return "Show Start Screen";
case MENU_LABEL_TITLE_COLOR:
return "menu_title_color";
case MENU_LABEL_VALUE_TITLE_COLOR:
return "Menu title color";
case MENU_LABEL_ENTRY_HOVER_COLOR:
return "menu_entry_hover_color";
case MENU_LABEL_VALUE_ENTRY_HOVER_COLOR:
return "Menu entry hover color";
case MENU_LABEL_TIMEDATE_ENABLE:
return "menu_timedate_enable";
case MENU_LABEL_VALUE_TIMEDATE_ENABLE:
return "Display time / date";
case MENU_LABEL_THREADED_DATA_RUNLOOP_ENABLE:
return "threaded_data_runloop_enable";
case MENU_LABEL_VALUE_THREADED_DATA_RUNLOOP_ENABLE:
return "Threaded data runloop";
case MENU_LABEL_ENTRY_NORMAL_COLOR:
return "menu_entry_normal_color";
case MENU_LABEL_VALUE_ENTRY_NORMAL_COLOR:
return "Menu entry normal color";
case MENU_LABEL_SHOW_ADVANCED_SETTINGS:
return "menu_show_advanced_settings";
case MENU_LABEL_VALUE_SHOW_ADVANCED_SETTINGS:
return "Show Advanced Settings";
case MENU_LABEL_COLLAPSE_SUBGROUPS_ENABLE:
return "menu_collapse_subgroups_enable";
case MENU_LABEL_VALUE_COLLAPSE_SUBGROUPS_ENABLE:
return "Collapse Subgroups";
case MENU_LABEL_MOUSE_ENABLE:
return "menu_mouse_enable";
case MENU_LABEL_VALUE_MOUSE_ENABLE:
return "Mouse Support";
case MENU_LABEL_POINTER_ENABLE:
return "menu_pointer_enable";
case MENU_LABEL_VALUE_POINTER_ENABLE:
return "Touch Support";
case MENU_LABEL_CORE_ENABLE:
return "menu_core_enable";
case MENU_LABEL_VALUE_CORE_ENABLE:
return "Display core name";
case MENU_LABEL_DPI_OVERRIDE_ENABLE:
return "dpi_override_enable";
case MENU_LABEL_VALUE_DPI_OVERRIDE_ENABLE:
return "DPI Override Enable";
case MENU_LABEL_DPI_OVERRIDE_VALUE:
return "dpi_override_value";
case MENU_LABEL_VALUE_DPI_OVERRIDE_VALUE:
return "DPI Override";
case MENU_LABEL_SUSPEND_SCREENSAVER_ENABLE:
return "suspend_screensaver_enable";
case MENU_LABEL_VALUE_SUSPEND_SCREENSAVER_ENABLE:
return "Suspend Screensaver";
case MENU_LABEL_VIDEO_DISABLE_COMPOSITION:
return "video_disable_composition";
case MENU_LABEL_VALUE_VIDEO_DISABLE_COMPOSITION:
return "Disable Desktop Composition";
case MENU_LABEL_PAUSE_NONACTIVE:
return "pause_nonactive";
case MENU_LABEL_VALUE_PAUSE_NONACTIVE:
return "Don't run in background";
case MENU_LABEL_UI_COMPANION_START_ON_BOOT:
return "ui_companion_start_on_boot";
case MENU_LABEL_VALUE_UI_COMPANION_START_ON_BOOT:
return "UI Companion Start On Boot";
case MENU_LABEL_UI_MENUBAR_ENABLE:
return "ui_menubar_enable";
case MENU_LABEL_VALUE_UI_MENUBAR_ENABLE:
return "Menubar (Hint)";
case MENU_LABEL_ARCHIVE_MODE:
return "archive_mode";
case MENU_LABEL_VALUE_ARCHIVE_MODE:
return "Archive Mode";
case MENU_LABEL_NETWORK_CMD_ENABLE:
return "network_cmd_enable";
case MENU_LABEL_VALUE_NETWORK_CMD_ENABLE:
return "Network Commands";
case MENU_LABEL_NETWORK_CMD_PORT:
return "network_cmd_port";
case MENU_LABEL_VALUE_NETWORK_CMD_PORT:
return "Network Command Port";
case MENU_LABEL_HISTORY_LIST_ENABLE:
return "history_list_enable";
case MENU_LABEL_VALUE_HISTORY_LIST_ENABLE:
return "History List Enable";
case MENU_LABEL_CONTENT_HISTORY_SIZE:
return "Content History Size";
case MENU_LABEL_VALUE_CONTENT_HISTORY_SIZE:
return "History List Size";
case MENU_LABEL_VIDEO_REFRESH_RATE_AUTO:
return "video_refresh_rate_auto";
case MENU_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO:
return "Estimated Monitor Framerate";
case MENU_LABEL_DUMMY_ON_CORE_SHUTDOWN:
return "dummy_on_core_shutdown";
case MENU_LABEL_VALUE_DUMMY_ON_CORE_SHUTDOWN:
return "Dummy On Core Shutdown";
case MENU_LABEL_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE:
return "core_set_supports_no_content_enable";
case MENU_LABEL_VALUE_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE:
return "Don't automatically start a core";
case MENU_LABEL_FRAME_THROTTLE_SETTINGS:
return "fastforward_ratio_throttle_enable";
case MENU_LABEL_VALUE_FRAME_THROTTLE_SETTINGS:
return "Limit Maximum Run Speed";
case MENU_LABEL_FASTFORWARD_RATIO:
return "fastforward_ratio";
case MENU_LABEL_VALUE_FASTFORWARD_RATIO:
return "Maximum Run Speed";
case MENU_LABEL_AUTO_REMAPS_ENABLE:
return "auto_remaps_enable";
case MENU_LABEL_VALUE_AUTO_REMAPS_ENABLE:
return "Load Remap Files Automatically";
case MENU_LABEL_SLOWMOTION_RATIO:
return "slowmotion_ratio";
case MENU_LABEL_VALUE_SLOWMOTION_RATIO:
return "Slow-Motion Ratio";
case MENU_LABEL_CORE_SPECIFIC_CONFIG:
return "core_specific_config";
case MENU_LABEL_VALUE_CORE_SPECIFIC_CONFIG:
return "Configuration Per-Core";
case MENU_LABEL_AUTO_OVERRIDES_ENABLE:
return "auto_overrides_enable";
case MENU_LABEL_VALUE_AUTO_OVERRIDES_ENABLE:
return "Load Override Files Automatically";
case MENU_LABEL_CONFIG_SAVE_ON_EXIT:
return "config_save_on_exit";
case MENU_LABEL_VALUE_CONFIG_SAVE_ON_EXIT:
return "Save Configuration On Exit";
case MENU_LABEL_VIDEO_SMOOTH:
return "video_smooth";
case MENU_LABEL_VALUE_VIDEO_SMOOTH:
return "HW Bilinear Filtering";
case MENU_LABEL_VIDEO_GAMMA:
return "video_gamma";
case MENU_LABEL_VALUE_VIDEO_GAMMA:
return "Video Gamma";
case MENU_LABEL_VIDEO_ALLOW_ROTATE:
return "video_allow_rotate";
case MENU_LABEL_VALUE_VIDEO_ALLOW_ROTATE:
return "Allow rotation";
case MENU_LABEL_VIDEO_HARD_SYNC:
return "video_hard_sync";
case MENU_LABEL_VALUE_VIDEO_HARD_SYNC:
return "Hard GPU Sync";
case MENU_LABEL_VIDEO_SWAP_INTERVAL:
return "video_swap_interval";
case MENU_LABEL_VALUE_VIDEO_SWAP_INTERVAL:
return "VSync Swap Interval";
case MENU_LABEL_VIDEO_VSYNC:
return "video_vsync";
case MENU_LABEL_VALUE_VIDEO_VSYNC:
return "VSync";
case MENU_LABEL_VIDEO_THREADED:
return "video_threaded";
case MENU_LABEL_VALUE_VIDEO_THREADED:
return "Threaded Video";
case MENU_LABEL_VIDEO_ROTATION:
return "video_rotation";
case MENU_LABEL_VALUE_VIDEO_ROTATION:
return "Rotation";
case MENU_LABEL_VIDEO_GPU_SCREENSHOT:
return "video_gpu_screenshot";
case MENU_LABEL_VALUE_VIDEO_GPU_SCREENSHOT:
return "GPU Screenshot Enable";
case MENU_LABEL_VIDEO_CROP_OVERSCAN:
return "video_crop_overscan";
case MENU_LABEL_VALUE_VIDEO_CROP_OVERSCAN:
return "Crop Overscan (Reload)";
case MENU_LABEL_VALUE_VIDEO_BLACK_FRAME_INSERTION:
return "Black Frame Insertion";
case MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION:
return "video_black_frame_insertion";
case MENU_LABEL_VIDEO_HARD_SYNC_FRAMES:
return "video_hard_sync_frames";
case MENU_LABEL_VALUE_VIDEO_HARD_SYNC_FRAMES:
return "Hard GPU Sync Frames";
case MENU_LABEL_SORT_SAVEFILES_ENABLE:
return "sort_savefiles_enable";
case MENU_LABEL_VALUE_SORT_SAVEFILES_ENABLE:
return "Sort Saves In Folders";
case MENU_LABEL_SORT_SAVESTATES_ENABLE:
return "sort_savestates_enable";
case MENU_LABEL_VALUE_SORT_SAVESTATES_ENABLE:
return "Sort Savestates In Folders";
case MENU_LABEL_VIDEO_FULLSCREEN:
return "video_fullscreen";
case MENU_LABEL_VALUE_VIDEO_FULLSCREEN:
return "Use Fullscreen Mode";
case MENU_LABEL_PERFCNT_ENABLE:
return "perfcnt_enable";
case MENU_LABEL_VIDEO_SCALE:
return "video_scale";
case MENU_LABEL_VALUE_VIDEO_SCALE:
return "Windowed Scale";
case MENU_LABEL_VIDEO_SCALE_INTEGER:
return "video_scale_integer";
case MENU_LABEL_VALUE_VIDEO_SCALE_INTEGER:
return "Integer Scale";
case MENU_LABEL_VALUE_PERFCNT_ENABLE:
return "Performance Counters";
case MENU_LABEL_LIBRETRO_LOG_LEVEL:
return "libretro_log_level";
case MENU_LABEL_VALUE_LIBRETRO_LOG_LEVEL:
return "Core Logging Level";
case MENU_LABEL_LOG_VERBOSITY:
return "log_verbosity";
case MENU_LABEL_VALUE_LOG_VERBOSITY:
return "Logging Verbosity";
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
return "savestate_auto_save";
case MENU_LABEL_SAVESTATE_AUTO_LOAD:
return "savestate_auto_load";
case MENU_LABEL_VALUE_SAVESTATE_AUTO_LOAD:
return "Auto Load State";
case MENU_LABEL_SAVESTATE_AUTO_INDEX:
return "savestate_auto_index";
case MENU_LABEL_VALUE_SAVESTATE_AUTO_INDEX:
return "Save State Auto Index";
case MENU_LABEL_VALUE_SAVESTATE_AUTO_SAVE:
return "Auto Save State";
case MENU_LABEL_AUTOSAVE_INTERVAL:
return "autosave_interval";
case MENU_LABEL_VALUE_AUTOSAVE_INTERVAL:
return "SaveRAM Autosave Interval";
case MENU_LABEL_BLOCK_SRAM_OVERWRITE:
return "block_sram_overwrite";
case MENU_LABEL_VALUE_BLOCK_SRAM_OVERWRITE:
return "Don't overwrite SaveRAM on loading savestate";
case MENU_LABEL_VIDEO_SHARED_CONTEXT:
return "video_shared_context";
case MENU_LABEL_VALUE_VIDEO_SHARED_CONTEXT:
return "HW Shared Context Enable";
case MENU_LABEL_RESTART_RETROARCH:
return "restart_retroarch";
case MENU_LABEL_VALUE_RESTART_RETROARCH:
return "Restart RetroArch";
case MENU_LABEL_NETPLAY_NICKNAME:
return "netplay_nickname";
case MENU_LABEL_VALUE_NETPLAY_NICKNAME:
return "Username";
case MENU_LABEL_USER_LANGUAGE:
return "user_language";
case MENU_LABEL_VALUE_USER_LANGUAGE:
return "Language";
case MENU_LABEL_CAMERA_ALLOW:
return "camera_allow";
case MENU_LABEL_VALUE_CAMERA_ALLOW:
return "Allow Camera";
case MENU_LABEL_LOCATION_ALLOW:
return "location_allow";
case MENU_LABEL_VALUE_LOCATION_ALLOW:
return "Allow Location";
case MENU_LABEL_PAUSE_LIBRETRO:
return "menu_pause_libretro";
case MENU_LABEL_VALUE_PAUSE_LIBRETRO:
return "Pause when menu activated";
case MENU_LABEL_INPUT_OSK_OVERLAY_ENABLE:
return "input_osk_overlay_enable";
case MENU_LABEL_VALUE_INPUT_OSK_OVERLAY_ENABLE:
return "Display Keyboard Overlay";
case MENU_LABEL_INPUT_OVERLAY_ENABLE:
return "input_overlay_enable";
case MENU_LABEL_VALUE_INPUT_OVERLAY_ENABLE:
return "Display Overlay";
case MENU_LABEL_VIDEO_MONITOR_INDEX:
return "video_monitor_index";
case MENU_LABEL_VALUE_VIDEO_MONITOR_INDEX:
return "Monitor Index";
case MENU_LABEL_VIDEO_FRAME_DELAY:
return "video_frame_delay";
case MENU_LABEL_VALUE_VIDEO_FRAME_DELAY:
return "Frame Delay";
case MENU_LABEL_VALUE_INPUT_DUTY_CYCLE:
return "Duty Cycle";
case MENU_LABEL_INPUT_DUTY_CYCLE:
return "input_duty_cycle";
case MENU_LABEL_INPUT_TURBO_PERIOD:
return "input_turbo_period";
case MENU_LABEL_VALUE_INPUT_TURBO_PERIOD:
return "Turbo Period";
case MENU_LABEL_VALUE_INPUT_AXIS_THRESHOLD:
return "Input Axis Threshold";
case MENU_LABEL_INPUT_AXIS_THRESHOLD:
return "input_axis_threshold";
case MENU_LABEL_INPUT_REMAP_BINDS_ENABLE:
return "input_remap_binds_enable";
case MENU_LABEL_VALUE_INPUT_REMAP_BINDS_ENABLE:
return "Remap Binds Enable";
case MENU_LABEL_INPUT_MAX_USERS:
return "input_max_users";
case MENU_LABEL_VALUE_INPUT_MAX_USERS:
return "Max Users";
case MENU_LABEL_VALUE_INPUT_AUTODETECT_ENABLE:
return "Autoconfig Enable";
case MENU_LABEL_INPUT_AUTODETECT_ENABLE:
return "input_autodetect_enable";
case MENU_LABEL_AUDIO_OUTPUT_RATE:
return "audio_output_rate";
case MENU_LABEL_VALUE_AUDIO_OUTPUT_RATE:
return "Audio Output Rate (KHz)";
case MENU_LABEL_AUDIO_MAX_TIMING_SKEW:
return "audio_max_timing_skew";
case MENU_LABEL_VALUE_AUDIO_MAX_TIMING_SKEW:
return "Audio Maximum Timing Skew";
case MENU_LABEL_VALUE_CHEAT_NUM_PASSES:
return "Cheat Passes";
case MENU_LABEL_CHEAT_APPLY_CHANGES:
return "cheat_apply_changes";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_CORE:
return "Save Core Remap File";
case MENU_LABEL_REMAP_FILE_SAVE_CORE:
return "remap_file_save_core";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_GAME:
return "Save Game Remap File";
case MENU_LABEL_REMAP_FILE_SAVE_GAME:
return "remap_file_save_game";
case MENU_LABEL_VALUE_CHEAT_APPLY_CHANGES:
return "Apply Cheat Changes";
case MENU_LABEL_CHEAT_NUM_PASSES:
return "cheat_num_passes";
case MENU_LABEL_VALUE_SHADER_APPLY_CHANGES:
return "Apply Shader Changes";
case MENU_LABEL_SHADER_APPLY_CHANGES:
return "shader_apply_changes";
case MENU_LABEL_COLLECTION:
return "collection";
case MENU_LABEL_REWIND_ENABLE:
return "rewind_enable";
case MENU_LABEL_VALUE_REWIND_ENABLE:
return "Rewind Enable";
case MENU_LABEL_CONTENT_COLLECTION_LIST:
return "content_collection_list";
case MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST:
return "Load Content (Collection)";
case MENU_LABEL_DETECT_CORE_LIST:
return "detect_core_list";
case MENU_LABEL_VALUE_DETECT_CORE_LIST:
return "Load Content (Detect Core)";
case MENU_LABEL_LOAD_CONTENT_HISTORY:
return "history_list";
case MENU_LABEL_VALUE_LOAD_CONTENT_HISTORY:
return "Load Content (History)";
case MENU_LABEL_AUDIO_ENABLE:
return "audio_enable";
case MENU_LABEL_VALUE_AUDIO_ENABLE:
return "Audio Enable";
case MENU_LABEL_FPS_SHOW:
return "fps_show";
case MENU_LABEL_VALUE_FPS_SHOW:
return "Display Framerate";
case MENU_LABEL_AUDIO_MUTE:
return "audio_mute_enable";
case MENU_LABEL_VALUE_AUDIO_MUTE:
return "Audio Mute";
case MENU_LABEL_VIDEO_SHADER_PASS:
return "video_shader_pass";
case MENU_LABEL_AUDIO_VOLUME:
return "audio_volume";
case MENU_LABEL_VALUE_AUDIO_VOLUME:
return "Audio Volume Level (dB)";
case MENU_LABEL_AUDIO_SYNC:
return "audio_sync";
case MENU_LABEL_VALUE_AUDIO_SYNC:
return "Audio Sync Enable";
case MENU_LABEL_AUDIO_RATE_CONTROL_DELTA:
return "audio_rate_control_delta";
case MENU_LABEL_VALUE_AUDIO_RATE_CONTROL_DELTA:
return "Audio Rate Control Delta";
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
return "video_shader_filter_pass";
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
return "video_shader_scale_pass";
case MENU_LABEL_VALUE_VIDEO_SHADER_NUM_PASSES:
return "Shader Passes";
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
return "video_shader_num_passes";
case MENU_LABEL_RDB_ENTRY_DESCRIPTION:
return "rdb_entry_description";
case MENU_LABEL_RDB_ENTRY_ORIGIN:
return "rdb_entry_origin";
case MENU_LABEL_RDB_ENTRY_PUBLISHER:
return "rdb_entry_publisher";
case MENU_LABEL_RDB_ENTRY_DEVELOPER:
return "rdb_entry_developer";
case MENU_LABEL_RDB_ENTRY_FRANCHISE:
return "rdb_entry_franchise";
case MENU_LABEL_RDB_ENTRY_MAX_USERS:
return "rdb_entry_max_users";
case MENU_LABEL_RDB_ENTRY_NAME:
return "rdb_entry_name";
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_RATING:
return "rdb_entry_edge_magazine_rating";
case MENU_LABEL_RDB_ENTRY_FAMITSU_MAGAZINE_RATING:
return "rdb_entry_famitsu_magazine_rating";
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_ISSUE:
return "rdb_entry_edge_magazine_issue";
case MENU_LABEL_RDB_ENTRY_RELEASE_MONTH:
return "rdb_entry_releasemonth";
case MENU_LABEL_RDB_ENTRY_RELEASE_YEAR:
return "rdb_entry_releaseyear";
case MENU_LABEL_RDB_ENTRY_ENHANCEMENT_HW:
return "rdb_entry_enhancement_hw";
case MENU_LABEL_RDB_ENTRY_SHA1:
return "rdb_entry_sha1";
case MENU_LABEL_RDB_ENTRY_CRC32:
return "rdb_entry_crc32";
case MENU_LABEL_RDB_ENTRY_MD5:
return "rdb_entry_md5";
case MENU_LABEL_RDB_ENTRY_BBFC_RATING:
return "rdb_entry_bbfc_rating";
case MENU_LABEL_RDB_ENTRY_ESRB_RATING:
return "rdb_entry_esrb_rating";
case MENU_LABEL_RDB_ENTRY_ELSPA_RATING:
return "rdb_entry_elspa_rating";
case MENU_LABEL_RDB_ENTRY_PEGI_RATING:
return "rdb_entry_pegi_rating";
case MENU_LABEL_RDB_ENTRY_CERO_RATING:
return "rdb_entry_cero_rating";
case MENU_LABEL_RDB_ENTRY_ANALOG:
return "rdb_entry_analog";
case MENU_LABEL_CONFIGURATIONS:
return "configurations";
case MENU_LABEL_VALUE_CONFIGURATIONS:
return "Configuration Files";
case MENU_LABEL_LOAD_OPEN_ZIP:
return "load_open_zip";
case MENU_LABEL_REWIND_GRANULARITY:
return "rewind_granularity";
case MENU_LABEL_VALUE_REWIND_GRANULARITY:
return "Rewind Granularity";
case MENU_LABEL_REMAP_FILE_LOAD:
return "remap_file_load";
case MENU_LABEL_VALUE_REMAP_FILE_LOAD:
return "Load Remap File";
case MENU_LABEL_REMAP_FILE_SAVE_AS:
return "remap_file_save_as";
case MENU_LABEL_VALUE_REMAP_FILE_SAVE_AS:
return "Save Remap File As";
case MENU_LABEL_CUSTOM_RATIO:
return "custom_ratio";
case MENU_LABEL_VALUE_CUSTOM_RATIO:
return "Custom Ratio";
case MENU_LABEL_VALUE_USE_THIS_DIRECTORY:
return "<Use this directory>";
case MENU_LABEL_USE_THIS_DIRECTORY:
return "use_this_directory";
case MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT:
return "Start Content";
case MENU_LABEL_RDB_ENTRY_START_CONTENT:
return "rdb_entry_start_content";
case MENU_LABEL_CUSTOM_BIND:
return "custom_bind";
case MENU_LABEL_CUSTOM_BIND_ALL:
return "custom_bind_all";
case MENU_LABEL_DISK_OPTIONS:
return "core_disk_options";
case MENU_LABEL_VALUE_DISK_OPTIONS:
return "Core Disk Options";
case MENU_LABEL_VALUE_CORE_OPTIONS:
return "Core Options";
case MENU_LABEL_VALUE_CORE_CHEAT_OPTIONS:
return "Core Cheat Options";
case MENU_LABEL_CORE_CHEAT_OPTIONS:
return "core_cheat_options";
case MENU_LABEL_CORE_OPTIONS:
return "core_options";
case MENU_LABEL_DATABASE_MANAGER_LIST:
return "database_manager_list";
case MENU_LABEL_DEFERRED_DATABASE_MANAGER_LIST:
return "deferred_database_manager_list";
case MENU_LABEL_CURSOR_MANAGER_LIST:
return "cursor_manager_list";
case MENU_LABEL_DEFERRED_CURSOR_MANAGER_LIST:
return "deferred_cursor_manager_list";
case MENU_LABEL_VALUE_CHEAT_FILE_LOAD:
return "Cheat File Load";
case MENU_LABEL_CHEAT_FILE_LOAD:
return "cheat_file_load";
case MENU_LABEL_CHEAT_FILE_SAVE_AS:
return "cheat_file_save_as";
case MENU_LABEL_VALUE_CHEAT_FILE_SAVE_AS:
return "Cheat File Save As";
case MENU_LABEL_DEFERRED_RDB_ENTRY_DETAIL:
return "deferred_rdb_entry_detail";
case MENU_LABEL_FRONTEND_COUNTERS:
return "frontend_counters";
case MENU_LABEL_CORE_COUNTERS:
return "core_counters";
case MENU_LABEL_VALUE_CORE_COUNTERS:
return "Core Counters";
case MENU_LABEL_DISK_CYCLE_TRAY_STATUS:
return "disk_cycle_tray_status";
case MENU_LABEL_DISK_IMAGE_APPEND:
return "disk_image_append";
case MENU_LABEL_DEFERRED_CORE_LIST:
return "deferred_core_list";
case MENU_LABEL_DEFERRED_CORE_LIST_SET:
return "deferred_core_list_set";
case MENU_LABEL_VALUE_TAKE_SCREENSHOT:
return "Take Screenshot";
case MENU_LABEL_INFO_SCREEN:
return "info_screen";
case MENU_LABEL_VALUE_RESUME:
return "Resume";
case MENU_LABEL_VALUE_DISK_INDEX:
return "Disk Index";
case MENU_LABEL_VALUE_FRONTEND_COUNTERS:
return "Frontend Counters";
case MENU_LABEL_VALUE_DISK_IMAGE_APPEND:
return "Disk Image Append";
case MENU_LABEL_VALUE_DISK_CYCLE_TRAY_STATUS:
return "Disk Cycle Tray Status";
case MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE:
return "No playlist entries available.";
case MENU_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE:
return "No core information available.";
case MENU_LABEL_VALUE_NO_CORE_OPTIONS_AVAILABLE:
return "No core options available.";
case MENU_LABEL_VALUE_NO_CORES_AVAILABLE:
return "No cores available.";
case MENU_VALUE_NO_CORE:
return "No Core";
case MENU_LABEL_VALUE_DATABASE_MANAGER:
return "Database Manager";
case MENU_LABEL_VALUE_CURSOR_MANAGER:
return "Cursor Manager";
case MENU_VALUE_RECORDING_SETTINGS:
return "Recording Settings";
case MENU_VALUE_MAIN_MENU:
return "Main Menu";
case MENU_LABEL_SETTINGS:
return "settings";
case MENU_LABEL_VALUE_SETTINGS:
return "Settings";
case MENU_LABEL_QUIT_RETROARCH:
return "quit_retroarch";
case MENU_LABEL_VALUE_QUIT_RETROARCH:
return "Quit RetroArch";
case MENU_LABEL_VALUE_HELP:
return "Help";
case MENU_LABEL_HELP:
return "help";
case MENU_LABEL_SAVE_NEW_CONFIG:
return "save_new_config";
case MENU_LABEL_VALUE_SAVE_NEW_CONFIG:
return "Save New Config";
case MENU_LABEL_RESTART_CONTENT:
return "restart_content";
case MENU_LABEL_VALUE_RESTART_CONTENT:
return "Restart Content";
case MENU_LABEL_TAKE_SCREENSHOT:
return "take_screenshot";
case MENU_LABEL_CORE_UPDATER_LIST:
return "core_updater_list";
case MENU_LABEL_VALUE_CORE_UPDATER_LIST:
return "Core Updater";
case MENU_LABEL_CORE_UPDATER_BUILDBOT_URL:
return "core_updater_buildbot_url";
case MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL:
return "Buildbot Cores URL";
case MENU_LABEL_BUILDBOT_ASSETS_URL:
return "buildbot_assets_url";
case MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL:
return "Buildbot Assets URL";
case MENU_LABEL_NAVIGATION_WRAPAROUND_VERTICAL:
return "menu_navigation_wraparound_vertical_enable";
case MENU_LABEL_NAVIGATION_WRAPAROUND_HORIZONTAL:
return "menu_navigation_wraparound_horizontal_enable";
case MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_HORIZONTAL:
return "Navigation Wrap-Around Horizontal";
case MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_VERTICAL:
return "Navigation Wrap-Around Vertical";
case MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
return "menu_navigation_browser_filter_supported_extensions_enable";
case MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
return "Browser - Filter by supported extensions";
case MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "core_updater_auto_extract_archive";
case MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "Automatically extract downloaded archive";
case MENU_LABEL_SYSTEM_INFORMATION:
return "system_information";
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
return "System Information";
case MENU_LABEL_OPTIONS:
return "options";
case MENU_LABEL_VALUE_OPTIONS:
return "Options";
case MENU_LABEL_CORE_INFORMATION:
return "core_information";
case MENU_LABEL_VALUE_CORE_INFORMATION:
return "Core Information";
case MENU_LABEL_VALUE_DIRECTORY_NOT_FOUND:
return "Directory not found.";
case MENU_LABEL_VALUE_NO_ITEMS:
return "No items.";
case MENU_LABEL_VALUE_CORE_LIST:
return "Load Core";
case MENU_LABEL_CORE_LIST:
return "core_list";
case MENU_LABEL_LOAD_CONTENT:
return "load_content";
case MENU_LABEL_VALUE_LOAD_CONTENT:
return "Load Content";
case MENU_LABEL_UNLOAD_CORE:
return "unload_core";
case MENU_LABEL_VALUE_UNLOAD_CORE:
return "Unload Core";
case MENU_LABEL_MANAGEMENT:
return "advanced_management";
case MENU_LABEL_VALUE_MANAGEMENT:
return "Advanced Management";
case MENU_LABEL_PERFORMANCE_COUNTERS:
return "performance_counters";
case MENU_LABEL_SAVE_STATE:
return "savestate";
case MENU_LABEL_VALUE_SAVE_STATE:
return "Save State";
case MENU_LABEL_LOAD_STATE:
return "loadstate";
case MENU_LABEL_VALUE_LOAD_STATE:
return "Load State";
case MENU_LABEL_VALUE_RESUME_CONTENT:
return "Resume Content";
case MENU_LABEL_RESUME_CONTENT:
return "resume_content";
case MENU_LABEL_DRIVER_SETTINGS:
return "Driver Settings";
case MENU_LABEL_INPUT_DRIVER:
return "input_driver";
case MENU_LABEL_VALUE_INPUT_DRIVER:
return "Input Driver";
case MENU_LABEL_AUDIO_DRIVER:
return "audio_driver";
case MENU_LABEL_VALUE_AUDIO_DRIVER:
return "Audio Driver";
case MENU_LABEL_JOYPAD_DRIVER:
return "input_joypad_driver";
case MENU_LABEL_VALUE_JOYPAD_DRIVER:
return "Joypad Driver";
case MENU_LABEL_AUDIO_RESAMPLER_DRIVER:
return "audio_resampler_driver";
case MENU_LABEL_VALUE_AUDIO_RESAMPLER_DRIVER:
return "Audio Resampler Driver";
case MENU_LABEL_RECORD_DRIVER:
return "record_driver";
case MENU_LABEL_VALUE_RECORD_DRIVER:
return "Record Driver";
case MENU_LABEL_MENU_DRIVER:
return "menu_driver";
case MENU_LABEL_VALUE_MENU_DRIVER:
return "Menu Driver";
case MENU_LABEL_CAMERA_DRIVER:
return "camera_driver";
case MENU_LABEL_VALUE_CAMERA_DRIVER:
return "Camera Driver";
case MENU_LABEL_LOCATION_DRIVER:
return "location_driver";
case MENU_LABEL_VALUE_LOCATION_DRIVER:
return "Location Driver";
case MENU_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE:
return "Unable to read compressed file.";
case MENU_LABEL_OVERLAY_SCALE:
return "input_overlay_scale";
case MENU_LABEL_VALUE_OVERLAY_SCALE:
return "Overlay Scale";
case MENU_LABEL_VALUE_OVERLAY_PRESET:
return "Overlay Preset";
case MENU_LABEL_OVERLAY_PRESET:
return "input_overlay";
case MENU_LABEL_KEYBOARD_OVERLAY_PRESET:
return "input_osk_overlay";
case MENU_LABEL_AUDIO_DEVICE:
return "audio_device";
case MENU_LABEL_AUDIO_LATENCY:
return "audio_latency";
case MENU_LABEL_VALUE_AUDIO_LATENCY:
return "Audio Latency (ms)";
case MENU_LABEL_VALUE_AUDIO_DEVICE:
return "Audio Device";
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
return "Keyboard Overlay Preset";
case MENU_LABEL_OVERLAY_OPACITY:
return "input_overlay_opacity";
case MENU_LABEL_VALUE_OVERLAY_OPACITY:
return "Overlay Opacity";
case MENU_LABEL_MENU_WALLPAPER:
return "menu_wallpaper";
case MENU_LABEL_VALUE_MENU_WALLPAPER:
return "Menu Wallpaper";
case MENU_LABEL_DYNAMIC_WALLPAPER:
return "menu_dynamic_wallpaper_enable";
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPER:
return "Dynamic Wallpaper";
case MENU_LABEL_BOXART:
return "menu_boxart_enable";
case MENU_LABEL_VALUE_BOXART:
return "Display Boxart";
case MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
return "core_input_remapping_options";
case MENU_LABEL_VALUE_CORE_INPUT_REMAPPING_OPTIONS:
return "Core Input Remapping Options";
case MENU_LABEL_VIDEO_OPTIONS:
return "video_options";
case MENU_LABEL_VALUE_VIDEO_OPTIONS:
return "Video Options";
case MENU_LABEL_VALUE_SHADER_OPTIONS:
return "Shader Options";
case MENU_LABEL_SHADER_OPTIONS:
return "shader_options";
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
return "video_shader_parameters";
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
return "video_shader_preset_parameters";
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET_SAVE_AS:
return "Shader Preset Save As";
case MENU_LABEL_VIDEO_SHADER_PRESET_SAVE_AS:
return "video_shader_preset_save_as";
case MENU_LABEL_VALUE_NO_SHADER_PARAMETERS:
return "No shader parameters.";
case MENU_LABEL_VIDEO_SHADER_PRESET:
return "video_shader_preset";
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET:
return "Load Shader Preset";
case MENU_LABEL_VIDEO_FILTER:
return "video_filter";
case MENU_LABEL_VALUE_VIDEO_FILTER:
return "Video Filter";
case MENU_LABEL_DEFERRED_VIDEO_FILTER:
return "deferred_video_filter";
case MENU_LABEL_DEFERRED_CORE_UPDATER_LIST:
return "deferred_core_updater_list";
case MENU_LABEL_AUDIO_DSP_PLUGIN:
return "audio_dsp_plugin";
case MENU_LABEL_VALUE_AUDIO_DSP_PLUGIN:
return "Audio DSP Plugin";
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
return "Starting download: ";
case MENU_VALUE_SECONDS:
return "seconds";
case MENU_VALUE_OFF:
return "OFF";
case MENU_VALUE_ON:
return "ON";
default:
break;
}
return "null";
}
const char *menu_hash_to_str(uint32_t hash)
{
const char *ret = NULL;
settings_t *settings = config_get_ptr();
if (!settings)
return "null";
switch (settings->user_language)
{
case RETRO_LANGUAGE_FRENCH:
ret = menu_hash_to_str_french(hash);
break;
case RETRO_LANGUAGE_GERMAN:
ret = menu_hash_to_str_german(hash);
break;
case RETRO_LANGUAGE_DUTCH:
ret = menu_hash_to_str_dutch(hash);
break;
default:
break;
}
if (ret && strcmp(ret, "null") != 0)
return ret;
return menu_hash_to_str_english(hash);
}
uint32_t menu_hash_calculate(const char *s)
{
return djb2_calculate(s);
}