(Frontend) Change MENU_SETTING_ACTION to FILE_TYPE_DIRECTORY

This commit is contained in:
twinaphex 2017-05-26 16:45:28 +02:00
parent 11641645b2
commit 9f2c15c17c
7 changed files with 33 additions and 33 deletions

View File

@ -396,7 +396,7 @@ static int frontend_ctr_parse_drive_list(void *data, bool load_content)
"sdmc:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
return 0;

View File

@ -652,11 +652,11 @@ static int frontend_darwin_parse_drive_list(void *data, bool load_content)
home_dir_buf,
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list, "/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
ret = 0;

View File

@ -481,23 +481,23 @@ static int frontend_gx_parse_drive_list(void *data, bool load_content)
"sd:/",
msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"usb:/",
msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
menu_entries_append_enum(list,
"carda:/",
msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"cardb:/",
msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
return 0;

View File

@ -516,62 +516,62 @@ static int frontend_ps3_parse_drive_list(void *data, bool load_content)
"/app_home/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_hdd0/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_hdd1/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_bdvd/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/host_root/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb000/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb001/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb002/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb003/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb004/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb005/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"/dev_usb006/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
return 0;

View File

@ -451,33 +451,33 @@ static int frontend_psp_parse_drive_list(void *data, bool load_content)
"app0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"ur0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"ux0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#else
menu_entries_append_enum(list,
"ms0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"ef0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"host0:/",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
#endif

View File

@ -166,12 +166,12 @@ static int frontend_wiiu_parse_drive_list(void *data, bool load_content)
menu_entries_append_enum(list, WIIU_SD_PATH,
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list, WIIU_USB_PATH,
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
return 0;
}

View File

@ -1396,33 +1396,33 @@ static int frontend_xdk_parse_drive_list(void *data, bool load_content)
"C:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"D:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"E:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"F:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
menu_entries_append_enum(list,
"G:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#elif defined(_XBOX360)
menu_entries_append_enum(list,
"game:",
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
enum_idx,
MENU_SETTING_ACTION, 0, 0);
FILE_TYPE_DIRECTORY, 0, 0);
#endif
#endif