RetroArch/menu/menu_hash.c

1166 lines
46 KiB
C
Raw Normal View History

2015-06-15 06:25:41 +02:00
/* 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>
2015-06-19 02:22:55 +02:00
#include <string.h>
2015-06-17 19:55:24 +02:00
#include <rhash.h>
2015-06-15 06:25:41 +02:00
#include "menu_hash.h"
2015-06-19 02:22:55 +02:00
#include "../configuration.h"
2015-06-19 16:17:38 +02:00
static const char *menu_hash_to_str_german(uint32_t hash)
{
switch (hash)
{
default:
break;
}
return "null";
}
2015-06-19 08:12:52 +02:00
static const char *menu_hash_to_str_french(uint32_t hash)
{
switch (hash)
{
2015-06-20 12:21:35 +07:00
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";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Forcer une resolution";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Options du core";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Aucun core disponible.";
2015-06-19 13:48:07 +07:00
case MENU_VALUE_NO_CORE:
2015-06-20 12:21:35 +07:00
return "Aucun core";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_DATABASE_MANAGER:
2015-06-20 12:21:35 +07:00
return "Base de donnees";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_CURSOR_MANAGER:
2015-06-20 12:21:35 +07:00
return "Curseurs";
2015-06-19 13:48:07 +07:00
case MENU_VALUE_RECORDING_SETTINGS:
2015-06-20 12:21:35 +07:00
return "Reglage de capture video";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Mise a jour des cores";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
return "Informations du systeme";
case MENU_LABEL_VALUE_OPTIONS:
return "Options";
case MENU_LABEL_VALUE_CORE_INFORMATION:
2015-06-20 12:21:35 +07:00
return "Informations sur le core";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Charger un core";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_LOAD_CONTENT:
return "Charger un contenu";
case MENU_LABEL_VALUE_UNLOAD_CORE:
2015-06-20 12:21:35 +07:00
return "Unload core";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Prereglages d'Overlay";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_AUDIO_LATENCY:
2015-06-20 12:21:35 +07:00
return "Latence audio (ms)";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_AUDIO_DEVICE:
2015-06-20 12:21:35 +07:00
return "Carte son";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
2015-06-20 12:21:35 +07:00
return "Prereglages d'Overlay Clavier";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Options de remap d'entrees du core";
2015-06-19 13:48:07 +07:00
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:
2015-06-20 12:21:35 +07:00
return "Module DSP";
2015-06-19 13:48:07 +07:00
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
2015-06-20 12:21:35 +07:00
return "Telechargement de : ";
2015-06-19 13:48:07 +07:00
case MENU_VALUE_OFF:
return "OFF";
case MENU_VALUE_ON:
return "ON";
2015-06-19 08:12:52 +02:00
default:
break;
}
return "null";
}
2015-06-19 02:22:55 +02:00
static const char *menu_hash_to_str_dutch(uint32_t hash)
{
switch (hash)
{
2015-06-19 03:06:21 +02:00
case MENU_LABEL_VALUE_CORE_INFORMATION:
return "Core Informatie";
2015-06-19 02:22:55 +02:00
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";
}
2015-06-19 03:06:21 +02:00
static const char *menu_hash_to_str_english(uint32_t hash)
2015-06-15 06:25:41 +02:00
{
switch (hash)
{
2015-06-20 23:03:45 +02:00
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";
2015-06-20 20:15:31 +02:00
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";
2015-06-20 19:46:13 +02:00
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";
2015-06-20 19:28:50 +02:00
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";
2015-06-20 18:35:53 +02:00
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";
2015-06-20 17:47:09 +02:00
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";
2015-06-20 16:48:31 +02:00
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";
2015-06-20 05:51:47 +02:00
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";
2015-06-20 05:30:11 +02:00
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";
2015-06-20 05:05:04 +02:00
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";
2015-06-20 05:13:47 +02:00
case MENU_LABEL_VIDEO_FULLSCREEN:
return "video_fullscreen";
case MENU_LABEL_VALUE_VIDEO_FULLSCREEN:
return "Use Fullscreen Mode";
2015-06-20 05:05:04 +02:00
case MENU_LABEL_PERFCNT_ENABLE:
return "perfcnt_enable";
2015-06-20 05:13:47 +02:00
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";
2015-06-20 05:05:04 +02:00
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";
2015-06-20 04:45:39 +02:00
case MENU_LABEL_SAVESTATE_AUTO_SAVE:
return "savestate_auto_save";
2015-06-20 05:05:04 +02:00
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";
2015-06-20 04:45:39 +02:00
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";
2015-06-20 01:19:07 +02:00
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";
2015-06-20 00:55:10 +02:00
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";
2015-06-20 00:31:43 +02:00
case MENU_LABEL_VIDEO_MONITOR_INDEX:
return "video_monitor_index";
case MENU_LABEL_VALUE_VIDEO_MONITOR_INDEX:
return "Monitor Index";
2015-06-20 00:29:07 +02:00
case MENU_LABEL_VIDEO_FRAME_DELAY:
return "video_frame_delay";
case MENU_LABEL_VALUE_VIDEO_FRAME_DELAY:
return "Frame Delay";
2015-06-20 00:24:50 +02:00
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";
2015-06-20 00:55:10 +02:00
case MENU_LABEL_VALUE_AUDIO_OUTPUT_RATE:
return "Audio Output Rate (KHz)";
2015-06-20 00:24:50 +02:00
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";
2015-06-19 22:40:53 +02:00
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";
2015-06-19 22:29:39 +02:00
case MENU_LABEL_VALUE_SHADER_APPLY_CHANGES:
return "Apply Shader Changes";
case MENU_LABEL_SHADER_APPLY_CHANGES:
return "shader_apply_changes";
2015-06-19 21:50:13 +02:00
case MENU_LABEL_COLLECTION:
return "collection";
2015-06-19 17:02:27 +02:00
case MENU_LABEL_REWIND_ENABLE:
return "rewind_enable";
2015-06-19 17:03:10 +02:00
case MENU_LABEL_VALUE_REWIND_ENABLE:
return "Rewind Enable";
2015-06-19 16:59:49 +02:00
case MENU_LABEL_CONTENT_COLLECTION_LIST:
return "content_collection_list";
case MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST:
return "Load Content (Collection)";
2015-06-19 16:56:01 +02:00
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";
2015-06-19 16:38:05 +02:00
case MENU_LABEL_AUDIO_MUTE:
return "audio_mute_enable";
case MENU_LABEL_VALUE_AUDIO_MUTE:
return "Audio Mute";
2015-06-19 10:25:19 +02:00
case MENU_LABEL_VIDEO_SHADER_PASS:
return "video_shader_pass";
2015-06-19 16:38:05 +02:00
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";
2015-06-19 10:25:19 +02:00
case MENU_LABEL_VIDEO_SHADER_FILTER_PASS:
return "video_shader_filter_pass";
case MENU_LABEL_VIDEO_SHADER_SCALE_PASS:
return "video_shader_scale_pass";
2015-06-19 22:29:39 +02:00
case MENU_LABEL_VALUE_VIDEO_SHADER_NUM_PASSES:
return "Shader Passes";
2015-06-19 10:25:19 +02:00
case MENU_LABEL_VIDEO_SHADER_NUM_PASSES:
return "video_shader_num_passes";
2015-06-19 10:08:09 +02:00
case MENU_LABEL_RDB_ENTRY_DESCRIPTION:
return "rdb_entry_description";
2015-06-19 10:00:04 +02:00
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";
2015-06-19 10:08:09 +02:00
case MENU_LABEL_RDB_ENTRY_NAME:
return "rdb_entry_name";
2015-06-19 10:00:04 +02:00
case MENU_LABEL_RDB_ENTRY_EDGE_MAGAZINE_RATING:
return "rdb_entry_edge_magazine_rating";
2015-06-19 21:41:54 +02:00
case MENU_LABEL_RDB_ENTRY_FAMITSU_MAGAZINE_RATING:
return "rdb_entry_famitsu_magazine_rating";
2015-06-19 10:00:04 +02:00
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";
2015-06-19 21:41:54 +02:00
case MENU_LABEL_RDB_ENTRY_ENHANCEMENT_HW:
return "rdb_entry_enhancement_hw";
2015-06-19 10:08:09 +02:00
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";
2015-06-19 21:41:54 +02:00
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";
2015-06-19 21:50:13 +02:00
case MENU_LABEL_RDB_ENTRY_ANALOG:
return "rdb_entry_analog";
2015-06-19 08:51:27 +02:00
case MENU_LABEL_CONFIGURATIONS:
return "configurations";
case MENU_LABEL_VALUE_CONFIGURATIONS:
return "Configuration Files";
case MENU_LABEL_LOAD_OPEN_ZIP:
return "load_open_zip";
2015-06-19 08:25:39 +02:00
case MENU_LABEL_REWIND_GRANULARITY:
return "rewind_granularity";
case MENU_LABEL_VALUE_REWIND_GRANULARITY:
return "Rewind Granularity";
2015-06-19 08:00:56 +02:00
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";
2015-06-19 06:18:53 +02:00
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";
2015-06-19 01:03:24 +02:00
case MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT:
return "Start Content";
case MENU_LABEL_RDB_ENTRY_START_CONTENT:
return "rdb_entry_start_content";
2015-06-18 20:38:02 +02:00
case MENU_LABEL_CUSTOM_BIND:
return "custom_bind";
case MENU_LABEL_CUSTOM_BIND_ALL:
return "custom_bind_all";
2015-06-19 05:25:37 +02:00
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";
2015-06-19 04:06:59 +02:00
case MENU_LABEL_DEFERRED_DATABASE_MANAGER_LIST:
return "deferred_database_manager_list";
case MENU_LABEL_CURSOR_MANAGER_LIST:
return "cursor_manager_list";
2015-06-19 04:06:59 +02:00
case MENU_LABEL_DEFERRED_CURSOR_MANAGER_LIST:
return "deferred_cursor_manager_list";
2015-06-19 08:43:27 +02:00
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";
2015-06-19 06:08:08 +02:00
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";
2015-06-19 05:00:49 +02:00
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";
2015-06-18 09:04:12 +02:00
case MENU_LABEL_DEFERRED_CORE_LIST:
return "deferred_core_list";
case MENU_LABEL_DEFERRED_CORE_LIST_SET:
return "deferred_core_list_set";
2015-06-19 01:03:24 +02:00
case MENU_LABEL_VALUE_TAKE_SCREENSHOT:
return "Take Screenshot";
2015-06-19 04:40:43 +02:00
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";
2015-06-19 01:03:24 +02:00
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.";
2015-06-19 06:08:08 +02:00
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";
2015-06-15 16:56:59 +02:00
case MENU_VALUE_RECORDING_SETTINGS:
return "Recording Settings";
2015-06-15 06:25:41 +02:00
case MENU_VALUE_MAIN_MENU:
return "Main Menu";
2015-06-19 01:20:41 +02:00
case MENU_LABEL_SETTINGS:
return "settings";
case MENU_LABEL_VALUE_SETTINGS:
2015-06-15 16:48:02 +02:00
return "Settings";
2015-06-15 23:16:47 +02:00
case MENU_LABEL_QUIT_RETROARCH:
2015-06-19 04:19:10 +02:00
return "quit_retroarch";
case MENU_LABEL_VALUE_QUIT_RETROARCH:
2015-06-15 23:16:47 +02:00
return "Quit RetroArch";
2015-06-19 04:06:59 +02:00
case MENU_LABEL_VALUE_HELP:
2015-06-15 23:16:47 +02:00
return "Help";
2015-06-19 04:06:59 +02:00
case MENU_LABEL_HELP:
return "help";
2015-06-15 23:16:47 +02:00
case MENU_LABEL_SAVE_NEW_CONFIG:
2015-06-19 04:19:10 +02:00
return "save_new_config";
case MENU_LABEL_VALUE_SAVE_NEW_CONFIG:
2015-06-15 23:16:47 +02:00
return "Save New Config";
case MENU_LABEL_RESTART_CONTENT:
2015-06-19 01:20:41 +02:00
return "restart_content";
case MENU_LABEL_VALUE_RESTART_CONTENT:
2015-06-15 23:16:47 +02:00
return "Restart Content";
case MENU_LABEL_TAKE_SCREENSHOT:
2015-06-19 01:03:24 +02:00
return "take_screenshot";
2015-06-15 23:16:47 +02:00
case MENU_LABEL_CORE_UPDATER_LIST:
2015-06-19 05:00:49 +02:00
return "core_updater_list";
case MENU_LABEL_VALUE_CORE_UPDATER_LIST:
2015-06-15 23:16:47 +02:00
return "Core Updater";
2015-06-20 20:33:23 +02:00
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";
2015-06-15 23:16:47 +02:00
case MENU_LABEL_SYSTEM_INFORMATION:
2015-06-19 01:20:41 +02:00
return "system_information";
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:
2015-06-15 23:16:47 +02:00
return "System Information";
case MENU_LABEL_OPTIONS:
2015-06-19 01:20:41 +02:00
return "options";
case MENU_LABEL_VALUE_OPTIONS:
2015-06-15 23:16:47 +02:00
return "Options";
case MENU_LABEL_CORE_INFORMATION:
2015-06-19 01:03:24 +02:00
return "core_information";
case MENU_LABEL_VALUE_CORE_INFORMATION:
2015-06-15 23:16:47 +02:00
return "Core Information";
2015-06-19 03:06:21 +02:00
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:
2015-06-15 23:20:19 +02:00
return "Load Core";
case MENU_LABEL_CORE_LIST:
return "core_list";
2015-06-19 06:46:49 +02:00
case MENU_LABEL_LOAD_CONTENT:
return "load_content";
case MENU_LABEL_VALUE_LOAD_CONTENT:
return "Load Content";
2015-06-15 23:20:19 +02:00
case MENU_LABEL_UNLOAD_CORE:
2015-06-19 05:00:49 +02:00
return "unload_core";
case MENU_LABEL_VALUE_UNLOAD_CORE:
2015-06-15 23:20:19 +02:00
return "Unload Core";
case MENU_LABEL_MANAGEMENT:
2015-06-19 06:46:49 +02:00
return "advanced_management";
case MENU_LABEL_VALUE_MANAGEMENT:
2015-06-15 23:20:19 +02:00
return "Advanced Management";
case MENU_LABEL_PERFORMANCE_COUNTERS:
2015-06-19 04:19:10 +02:00
return "performance_counters";
2015-06-15 23:20:19 +02:00
case MENU_LABEL_SAVE_STATE:
2015-06-19 03:06:21 +02:00
return "savestate";
case MENU_LABEL_VALUE_SAVE_STATE:
2015-06-15 23:20:19 +02:00
return "Save State";
case MENU_LABEL_LOAD_STATE:
2015-06-19 03:06:21 +02:00
return "loadstate";
case MENU_LABEL_VALUE_LOAD_STATE:
2015-06-15 23:20:19 +02:00
return "Load State";
2015-06-19 01:20:41 +02:00
case MENU_LABEL_VALUE_RESUME_CONTENT:
2015-06-15 23:20:19 +02:00
return "Resume Content";
2015-06-19 01:20:41 +02:00
case MENU_LABEL_RESUME_CONTENT:
return "resume_content";
case MENU_LABEL_DRIVER_SETTINGS:
return "Driver Settings";
2015-06-19 03:06:21 +02:00
case MENU_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE:
return "Unable to read compressed file.";
2015-06-16 01:14:44 +02:00
case MENU_LABEL_OVERLAY_SCALE:
2015-06-19 02:13:27 +02:00
return "input_overlay_scale";
case MENU_LABEL_VALUE_OVERLAY_SCALE:
2015-06-16 01:14:44 +02:00
return "Overlay Scale";
2015-06-19 08:10:11 +02:00
case MENU_LABEL_VALUE_OVERLAY_PRESET:
2015-06-16 01:14:44 +02:00
return "Overlay Preset";
2015-06-19 08:10:11 +02:00
case MENU_LABEL_OVERLAY_PRESET:
return "input_overlay";
2015-06-16 01:14:44 +02:00
case MENU_LABEL_KEYBOARD_OVERLAY_PRESET:
2015-06-19 02:13:27 +02:00
return "input_osk_overlay";
case MENU_LABEL_AUDIO_DEVICE:
return "audio_device";
2015-06-19 08:10:11 +02:00
case MENU_LABEL_AUDIO_LATENCY:
return "audio_latency";
case MENU_LABEL_VALUE_AUDIO_LATENCY:
return "Audio Latency (ms)";
2015-06-19 02:13:27 +02:00
case MENU_LABEL_VALUE_AUDIO_DEVICE:
return "Audio Device";
case MENU_LABEL_VALUE_KEYBOARD_OVERLAY_PRESET:
2015-06-16 01:14:44 +02:00
return "Keyboard Overlay Preset";
case MENU_LABEL_OVERLAY_OPACITY:
2015-06-19 02:13:27 +02:00
return "input_overlay_opacity";
case MENU_LABEL_VALUE_OVERLAY_OPACITY:
2015-06-16 01:14:44 +02:00
return "Overlay Opacity";
2015-06-19 07:29:42 +02:00
case MENU_LABEL_MENU_WALLPAPER:
return "menu_wallpaper";
2015-06-16 01:14:44 +02:00
case MENU_LABEL_VALUE_MENU_WALLPAPER:
return "Menu Wallpaper";
2015-06-19 07:29:42 +02:00
case MENU_LABEL_DYNAMIC_WALLPAPER:
return "menu_dynamic_wallpaper_enable";
2015-06-16 01:14:44 +02:00
case MENU_LABEL_VALUE_DYNAMIC_WALLPAPER:
return "Dynamic Wallpaper";
2015-06-19 16:38:05 +02:00
case MENU_LABEL_BOXART:
return "menu_boxart_enable";
2015-06-18 09:32:56 +07:00
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";
2015-06-18 09:53:07 +02:00
case MENU_LABEL_VALUE_SHADER_OPTIONS:
return "Shader Options";
case MENU_LABEL_SHADER_OPTIONS:
return "shader_options";
2015-06-19 22:29:39 +02:00
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";
2015-06-18 09:53:07 +02:00
case MENU_LABEL_VALUE_NO_SHADER_PARAMETERS:
return "No shader parameters.";
2015-06-19 22:29:39 +02:00
case MENU_LABEL_VIDEO_SHADER_PRESET:
return "video_shader_preset";
case MENU_LABEL_VALUE_VIDEO_SHADER_PRESET:
return "Load Shader Preset";
2015-06-19 04:43:32 +02:00
case MENU_LABEL_VIDEO_FILTER:
return "video_filter";
case MENU_LABEL_VALUE_VIDEO_FILTER:
return "Video Filter";
2015-06-19 04:06:59 +02:00
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";
2015-06-19 07:39:13 +02:00
case MENU_LABEL_VALUE_AUDIO_DSP_PLUGIN:
return "Audio DSP Plugin";
case MENU_LABEL_VALUE_STARTING_DOWNLOAD:
return "Starting download: ";
2015-06-19 07:23:58 +02:00
case MENU_VALUE_SECONDS:
return "seconds";
case MENU_VALUE_OFF:
return "OFF";
case MENU_VALUE_ON:
return "ON";
default:
break;
2015-06-15 06:25:41 +02:00
}
return "null";
}
2015-06-17 19:55:24 +02:00
2015-06-19 02:22:55 +02:00
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)
{
2015-06-19 08:12:52 +02:00
case RETRO_LANGUAGE_FRENCH:
ret = menu_hash_to_str_french(hash);
2015-06-19 08:18:04 +02:00
break;
2015-06-19 16:17:38 +02:00
case RETRO_LANGUAGE_GERMAN:
ret = menu_hash_to_str_german(hash);
break;
2015-06-19 02:22:55 +02:00
case RETRO_LANGUAGE_DUTCH:
ret = menu_hash_to_str_dutch(hash);
2015-06-19 08:18:04 +02:00
break;
2015-06-19 02:22:55 +02:00
default:
break;
}
if (ret && strcmp(ret, "null") != 0)
return ret;
2015-06-19 03:06:21 +02:00
return menu_hash_to_str_english(hash);
2015-06-19 02:22:55 +02:00
}
2015-06-17 19:55:24 +02:00
uint32_t menu_hash_calculate(const char *s)
{
return djb2_calculate(s);
}