(Menu) Menu hash updates

This commit is contained in:
twinaphex 2015-06-19 08:00:56 +02:00
parent 4d35d715b4
commit 0be48dc7f6
3 changed files with 17 additions and 3 deletions

View File

@ -1475,10 +1475,14 @@ static int menu_displaylist_parse_options_remappings(menu_displaylist_info_t *in
settings_t *settings = config_get_ptr();
global_t *global = global_get_ptr();
menu_list_push(info->list, "Load Remap File", "remap_file_load",
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_REMAP_FILE_LOAD),
menu_hash_to_str(MENU_LABEL_REMAP_FILE_LOAD),
MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_REMAP_FILE_SAVE_AS),
menu_hash_to_str(MENU_LABEL_REMAP_FILE_SAVE_AS),
MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list, "Save Remap File As",
"remap_file_save_as", MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list, "Save Core Remap File",
"remap_file_save_core", MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list, "Save Game Remap File",

View File

@ -47,6 +47,14 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
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:

View File

@ -313,6 +313,7 @@ extern "C" {
#define MENU_LABEL_VIDEO_SHADER_PRESET 0xc5d3bae4U
#define MENU_LABEL_CHEAT_FILE_LOAD 0x57336148U
#define MENU_LABEL_REMAP_FILE_LOAD 0x9c2799b8U
#define MENU_LABEL_VALUE_REMAP_FILE_LOAD 0xabdd415aU
#define MENU_LABEL_MESSAGE 0xbe463eeaU
#define MENU_LABEL_INFO_SCREEN 0xd97853d0U
#define MENU_LABEL_LOAD_OPEN_ZIP 0x8aa3c068U
@ -419,6 +420,7 @@ extern "C" {
#define MENU_LABEL_DISK_IMAGE_APPEND 0x5af7d709U
#define MENU_LABEL_CONFIGURATIONS 0x3e930a50U
#define MENU_LABEL_CHEAT_FILE_SAVE_AS 0x1f58dccaU
#define MENU_LABEL_VALUE_REMAP_FILE_SAVE_AS 0x3ce7a81dU
#define MENU_LABEL_REMAP_FILE_SAVE_AS 0xcebf7f3aU
#define MENU_LABEL_VIDEO_SHADER_PRESET_SAVE_AS 0x3d6e5ce5U
#define MENU_LABEL_REMAP_FILE_SAVE_CORE 0x7c9d4c8fU