(Menu) Menu hash updates
This commit is contained in:
parent
b497b28a56
commit
5dc55a87ab
|
@ -1116,7 +1116,7 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||||
(db_info_entry->analog_supported == 1) ? "true" :
|
(db_info_entry->analog_supported == 1) ? "true" :
|
||||||
(db_info_entry->analog_supported == -1) ? "N/A" : "false");
|
(db_info_entry->analog_supported == -1) ? "N/A" : "false");
|
||||||
menu_list_push(info->list, tmp,
|
menu_list_push(info->list, tmp,
|
||||||
"rdb_entry_analog",
|
menu_hash_to_str(MENU_LABEL_RDB_ENTRY_ANALOG),
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
snprintf(tmp, sizeof(tmp),
|
snprintf(tmp, sizeof(tmp),
|
||||||
"%s : %s",
|
"%s : %s",
|
||||||
|
@ -1124,7 +1124,7 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||||
(db_info_entry->rumble_supported == 1) ? "true" :
|
(db_info_entry->rumble_supported == 1) ? "true" :
|
||||||
(db_info_entry->rumble_supported == -1) ? "N/A" : "false");
|
(db_info_entry->rumble_supported == -1) ? "N/A" : "false");
|
||||||
menu_list_push(info->list, tmp,
|
menu_list_push(info->list, tmp,
|
||||||
"rdb_entry_rumble",
|
menu_hash_to_str(MENU_LABEL_RDB_ENTRY_RUMBLE),
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
|
|
||||||
if (!show_advanced_settings)
|
if (!show_advanced_settings)
|
||||||
|
@ -1390,7 +1390,9 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||||
menu->playlist = content_playlist_init(path_playlist,
|
menu->playlist = content_playlist_init(path_playlist,
|
||||||
999);
|
999);
|
||||||
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
||||||
strlcpy(path_playlist, "collection", sizeof(path_playlist));
|
strlcpy(path_playlist,
|
||||||
|
menu_hash_to_str(MENU_LABEL_COLLECTION),
|
||||||
|
sizeof(path_playlist));
|
||||||
playlist = menu->playlist;
|
playlist = menu->playlist;
|
||||||
|
|
||||||
content_playlist_qsort(playlist, menu_displaylist_sort_playlist);
|
content_playlist_qsort(playlist, menu_displaylist_sort_playlist);
|
||||||
|
@ -2025,7 +2027,8 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
menu->playlist = content_playlist_init(path_playlist,
|
menu->playlist = content_playlist_init(path_playlist,
|
||||||
999);
|
999);
|
||||||
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
strlcpy(menu->db_playlist_file, path_playlist, sizeof(menu->db_playlist_file));
|
||||||
strlcpy(path_playlist, "collection", sizeof(path_playlist));
|
strlcpy(path_playlist,
|
||||||
|
menu_hash_to_str(MENU_LABEL_COLLECTION), sizeof(path_playlist));
|
||||||
playlist = menu->playlist;
|
playlist = menu->playlist;
|
||||||
|
|
||||||
ret = menu_displaylist_parse_playlist(info, playlist, path_playlist, false);
|
ret = menu_displaylist_parse_playlist(info, playlist, path_playlist, false);
|
||||||
|
|
|
@ -193,6 +193,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||||
{
|
{
|
||||||
switch (hash)
|
switch (hash)
|
||||||
{
|
{
|
||||||
|
case MENU_LABEL_COLLECTION:
|
||||||
|
return "collection";
|
||||||
case MENU_LABEL_REWIND_ENABLE:
|
case MENU_LABEL_REWIND_ENABLE:
|
||||||
return "rewind_enable";
|
return "rewind_enable";
|
||||||
case MENU_LABEL_VALUE_REWIND_ENABLE:
|
case MENU_LABEL_VALUE_REWIND_ENABLE:
|
||||||
|
@ -283,6 +285,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||||
return "rdb_entry_pegi_rating";
|
return "rdb_entry_pegi_rating";
|
||||||
case MENU_LABEL_RDB_ENTRY_CERO_RATING:
|
case MENU_LABEL_RDB_ENTRY_CERO_RATING:
|
||||||
return "rdb_entry_cero_rating";
|
return "rdb_entry_cero_rating";
|
||||||
|
case MENU_LABEL_RDB_ENTRY_ANALOG:
|
||||||
|
return "rdb_entry_analog";
|
||||||
case MENU_LABEL_CONFIGURATIONS:
|
case MENU_LABEL_CONFIGURATIONS:
|
||||||
return "configurations";
|
return "configurations";
|
||||||
case MENU_LABEL_VALUE_CONFIGURATIONS:
|
case MENU_LABEL_VALUE_CONFIGURATIONS:
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define MENU_LABEL_RESET 0x10474288U
|
#define MENU_LABEL_RESET 0x10474288U
|
||||||
#define MENU_LABEL_SLOWMOTION 0x6a269ea0U
|
#define MENU_LABEL_SLOWMOTION 0x6a269ea0U
|
||||||
#define MENU_LABEL_HOLD_FAST_FORWARD 0xebe2e4cdU
|
#define MENU_LABEL_HOLD_FAST_FORWARD 0xebe2e4cdU
|
||||||
|
@ -191,6 +190,8 @@ extern "C" {
|
||||||
|
|
||||||
#define MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE 0xea82695dU
|
#define MENU_LABEL_VALUE_NO_PLAYLIST_ENTRIES_AVAILABLE 0xea82695dU
|
||||||
#define MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT 0x2cf73cceU
|
#define MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT 0x2cf73cceU
|
||||||
|
#define MENU_LABEL_RDB_ENTRY_ANALOG 0x9081c2ffU
|
||||||
|
#define MENU_LABEL_RDB_ENTRY_RUMBLE 0xb8ae8ad4U
|
||||||
#define MENU_LABEL_RDB_ENTRY_START_CONTENT 0x95025a55U
|
#define MENU_LABEL_RDB_ENTRY_START_CONTENT 0x95025a55U
|
||||||
#define MENU_LABEL_RDB_ENTRY_DESCRIPTION 0x26aa1f71U
|
#define MENU_LABEL_RDB_ENTRY_DESCRIPTION 0x26aa1f71U
|
||||||
#define MENU_LABEL_RDB_ENTRY_NAME 0xc6ccf92eU
|
#define MENU_LABEL_RDB_ENTRY_NAME 0xc6ccf92eU
|
||||||
|
|
Loading…
Reference in New Issue