mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 20:43:10 +00:00
Start adding CORE_CONTENT_DIRS_LIST
This commit is contained in:
parent
4e534fec6f
commit
a302d78989
@ -1118,6 +1118,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
return "cb_core_updater_list";
|
||||
case MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST:
|
||||
return "cb_core_content_list";
|
||||
case MENU_ENUM_LABEL_CB_CORE_CONTENT_DIRS_LIST:
|
||||
return "cb_core_content_dirs_list";
|
||||
case MENU_ENUM_LABEL_CB_CORE_THUMBNAILS_DOWNLOAD:
|
||||
return "cb_core_thumbnails_download";
|
||||
case MENU_ENUM_LABEL_CB_CORE_UPDATER_DOWNLOAD:
|
||||
@ -1346,6 +1348,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
return "update_core_info_files";
|
||||
case MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_LIST:
|
||||
return "deferred_core_content_list";
|
||||
case MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_LIST:
|
||||
return "deferred_core_content_dirs_list";
|
||||
case MENU_ENUM_LABEL_DEFERRED_LAKKA_LIST:
|
||||
return "deferred_lakka_list";
|
||||
case MENU_ENUM_LABEL_DOWNLOAD_CORE_CONTENT:
|
||||
|
@ -387,6 +387,15 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
MENU_ENUM_LABEL_DEFERRED_THUMBNAILS_UPDATER_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_THUMBNAILS_UPDATER_LIST;
|
||||
break;
|
||||
case ACTION_OK_DL_CORE_CONTENT_DIRS_LIST:
|
||||
dl_type = DISPLAYLIST_PENDING_CLEAR;
|
||||
info.type = type;
|
||||
info.directory_ptr = idx;
|
||||
info_path = path;
|
||||
info_label = msg_hash_to_str(
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_LIST);
|
||||
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_LIST;
|
||||
break;
|
||||
case ACTION_OK_DL_CORE_CONTENT_LIST:
|
||||
dl_type = DISPLAYLIST_PENDING_CLEAR;
|
||||
info.type = type;
|
||||
@ -1966,6 +1975,13 @@ static int generic_action_ok_network(const char *path,
|
||||
|
||||
switch (enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_CB_CORE_CONTENT_DIRS_LIST:
|
||||
fill_pathname_join(url_path, settings->network.buildbot_assets_url,
|
||||
"cores/.index-dirs", sizeof(url_path));
|
||||
url_label = msg_hash_to_str(enum_idx);
|
||||
type_id2 = ACTION_OK_DL_CORE_CONTENT_DIRS_LIST;
|
||||
callback = cb_net_generic;
|
||||
break;
|
||||
case MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST:
|
||||
fill_pathname_join(url_path, settings->network.buildbot_assets_url,
|
||||
"cores/gw/.index", sizeof(url_path));
|
||||
|
@ -67,6 +67,7 @@ enum
|
||||
ACTION_OK_DL_CORE_UPDATER_LIST,
|
||||
ACTION_OK_DL_THUMBNAILS_UPDATER_LIST,
|
||||
ACTION_OK_DL_CORE_CONTENT_LIST,
|
||||
ACTION_OK_DL_CORE_CONTENT_DIRS_LIST,
|
||||
ACTION_OK_DL_DEFERRED_CORE_LIST,
|
||||
ACTION_OK_DL_DEFERRED_CORE_LIST_SET,
|
||||
ACTION_OK_DL_CONTENT_SETTINGS
|
||||
|
@ -588,6 +588,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE,
|
||||
MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN,
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_LAKKA_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_INPUT_HOTKEY_BINDS_LIST,
|
||||
MENU_ENUM_LABEL_DEFERRED_DATABASE_MANAGER_LIST,
|
||||
@ -1501,6 +1502,7 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST,
|
||||
MENU_ENUM_LABEL_CB_LAKKA_LIST,
|
||||
MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST,
|
||||
MENU_ENUM_LABEL_CB_CORE_CONTENT_DIRS_LIST,
|
||||
MENU_ENUM_LABEL_CB_UPDATE_DATABASES,
|
||||
MENU_ENUM_LABEL_CB_LAKKA_DOWNLOAD,
|
||||
MENU_ENUM_LABEL_CB_UPDATE_CHEATS,
|
||||
|
Loading…
x
Reference in New Issue
Block a user