mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +00:00
(OSX) Buildfixes
This commit is contained in:
parent
fcd49b0341
commit
7feea5d2e8
@ -640,9 +640,14 @@ static int frontend_darwin_parse_drive_list(void *data)
|
|||||||
CFSearchPathForDirectoriesInDomains(CFDocumentDirectory, CFUserDomainMask, 1, home_dir_buf, sizeof(home_dir_buf));
|
CFSearchPathForDirectoriesInDomains(CFDocumentDirectory, CFUserDomainMask, 1, home_dir_buf, sizeof(home_dir_buf));
|
||||||
|
|
||||||
menu_entries_append_enum(list,
|
menu_entries_append_enum(list,
|
||||||
home_dir_buf, "", MSG_UNKNOWN, FILE_TYPE_DIRECTORY, 0, 0);
|
home_dir_buf,
|
||||||
menu_entries_append_enum(list, "/", "",
|
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
|
||||||
MSG_UNKNOWN, FILE_TYPE_DIRECTORY, 0, 0);
|
MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,
|
||||||
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
|
menu_entries_append_enum(list, "/",
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR),
|
||||||
|
MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,
|
||||||
|
MENU_SETTING_ACTION, 0, 0);
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
|
@ -568,7 +568,7 @@ static int general_push(menu_displaylist_info_t *info,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PUSH_DETECT_CORE_LIST:
|
case PUSH_DETECT_CORE_LIST:
|
||||||
if (!string_is_empty(list->all_ext))
|
if (list && !string_is_empty(list->all_ext))
|
||||||
strlcpy(info->exts, list->all_ext, sizeof(info->exts));
|
strlcpy(info->exts, list->all_ext, sizeof(info->exts));
|
||||||
else if (system_menu->valid_extensions)
|
else if (system_menu->valid_extensions)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user