(platform_linux.c) Change these entries to FILE_TYPE_DIRECTORY

This commit is contained in:
twinaphex 2017-05-26 16:34:34 +02:00
parent 43a3298990
commit 11641645b2

View File

@ -1980,7 +1980,7 @@ static int frontend_linux_parse_drive_list(void *data, bool load_content)
app_dir, app_dir,
msg_hash_to_str(MSG_APPLICATION_DIR), msg_hash_to_str(MSG_APPLICATION_DIR),
enum_idx, enum_idx,
MENU_SETTING_ACTION, 0, 0); FILE_TYPE_DIRECTORY, 0, 0);
} }
if (!string_is_empty(internal_storage_app_path)) if (!string_is_empty(internal_storage_app_path))
{ {
@ -1988,7 +1988,7 @@ static int frontend_linux_parse_drive_list(void *data, bool load_content)
internal_storage_app_path, internal_storage_app_path,
msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR), msg_hash_to_str(MSG_EXTERNAL_APPLICATION_DIR),
enum_idx, enum_idx,
MENU_SETTING_ACTION, 0, 0); FILE_TYPE_DIRECTORY, 0, 0);
} }
if (!string_is_empty(internal_storage_path)) if (!string_is_empty(internal_storage_path))
{ {
@ -1996,7 +1996,7 @@ static int frontend_linux_parse_drive_list(void *data, bool load_content)
internal_storage_path, internal_storage_path,
msg_hash_to_str(MSG_INTERNAL_STORAGE), msg_hash_to_str(MSG_INTERNAL_STORAGE),
enum_idx, enum_idx,
MENU_SETTING_ACTION, 0, 0); FILE_TYPE_DIRECTORY, 0, 0);
} }
else else
{ {
@ -2004,13 +2004,13 @@ static int frontend_linux_parse_drive_list(void *data, bool load_content)
"/storage/emulated/0", "/storage/emulated/0",
msg_hash_to_str(MSG_REMOVABLE_STORAGE), msg_hash_to_str(MSG_REMOVABLE_STORAGE),
enum_idx, enum_idx,
MENU_SETTING_ACTION, 0, 0); FILE_TYPE_DIRECTORY, 0, 0);
} }
menu_entries_append_enum(list, menu_entries_append_enum(list,
"/storage", "/storage",
msg_hash_to_str(MSG_REMOVABLE_STORAGE), msg_hash_to_str(MSG_REMOVABLE_STORAGE),
enum_idx, enum_idx,
MENU_SETTING_ACTION, 0, 0); FILE_TYPE_DIRECTORY, 0, 0);
#endif #endif
menu_entries_append_enum(list, "/", menu_entries_append_enum(list, "/",