(Menu) Menu hashes

This commit is contained in:
twinaphex 2015-06-19 08:43:27 +02:00
parent 64f76a2549
commit 7afe1559bc
3 changed files with 23 additions and 5 deletions

View File

@ -1434,13 +1434,21 @@ static int menu_displaylist_parse_options_cheats(menu_displaylist_info_t *info)
cheat = global->cheat;
}
menu_list_push(info->list, "Cheat File Load", "cheat_file_load",
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_CHEAT_FILE_LOAD),
menu_hash_to_str(MENU_LABEL_CHEAT_FILE_LOAD),
MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list, "Cheat File Save As",
"cheat_file_save_as", MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list, "Cheat Passes", "cheat_num_passes",
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_CHEAT_FILE_SAVE_AS),
menu_hash_to_str(MENU_LABEL_CHEAT_FILE_SAVE_AS),
MENU_SETTING_ACTION, 0, 0);
menu_list_push(info->list,
"Cheat Passes",
"cheat_num_passes",
0, 0, 0);
menu_list_push(info->list, "Apply Cheat Changes", "cheat_apply_changes",
menu_list_push(info->list,
"Apply Cheat Changes",
"cheat_apply_changes",
MENU_SETTING_ACTION, 0, 0);
for (i = 0; i < cheat->size; i++)

View File

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

View File

@ -315,6 +315,7 @@ extern "C" {
#define MENU_LABEL_VIDEO_SHADER_PASS 0x4fa31028U
#define MENU_LABEL_VIDEO_SHADER_PRESET 0xc5d3bae4U
#define MENU_LABEL_CHEAT_FILE_LOAD 0x57336148U
#define MENU_LABEL_VALUE_CHEAT_FILE_LOAD 0x5b983e0aU
#define MENU_LABEL_REMAP_FILE_LOAD 0x9c2799b8U
#define MENU_LABEL_VALUE_REMAP_FILE_LOAD 0xabdd415aU
#define MENU_LABEL_MESSAGE 0xbe463eeaU
@ -422,6 +423,7 @@ extern "C" {
#define MENU_LABEL_FILE_LOAD_OR_RESUME 0x952941f4U
#define MENU_LABEL_DISK_IMAGE_APPEND 0x5af7d709U
#define MENU_LABEL_CONFIGURATIONS 0x3e930a50U
#define MENU_LABEL_VALUE_CHEAT_FILE_SAVE_AS 0xf2498a2dU
#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