提交 9d5aa267 编写于 作者: V vit9696

OpenCanopy: Fixed icon choice for Apple FW update

上级 c047d610
OpenCore Changelog OpenCore Changelog
================== ==================
#### v0.6.0
- Fixed sound corruption with AudioDxe
- Fixed icon choice for Apple FW update in OpenCanopy
#### v0.5.9 #### v0.5.9
- Added full HiDPI support in OpenCanopy - Added full HiDPI support in OpenCanopy
- Improved OpenCanopy font rendering by using CoreText - Improved OpenCanopy font rendering by using CoreText
......
...@@ -775,6 +775,7 @@ BootPickerEntriesAdd ( ...@@ -775,6 +775,7 @@ BootPickerEntriesAdd (
case OC_BOOT_APPLE_OS: case OC_BOOT_APPLE_OS:
Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE]); Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE]);
break; break;
case OC_BOOT_APPLE_FW_UPDATE:
case OC_BOOT_APPLE_RECOVERY: case OC_BOOT_APPLE_RECOVERY:
Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE_RECOVERY]); Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE_RECOVERY]);
break; break;
...@@ -803,7 +804,7 @@ BootPickerEntriesAdd ( ...@@ -803,7 +804,7 @@ BootPickerEntriesAdd (
Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_GENERIC_HDD]); Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_GENERIC_HDD]);
break; break;
default: default:
DEBUG ((DEBUG_WARN, "OCUI: Entry kind %d unsupported for label", Entry->Type)); DEBUG ((DEBUG_WARN, "OCUI: Entry kind %d unsupported for label\n", Entry->Type));
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
} }
} }
...@@ -855,6 +856,7 @@ BootPickerEntriesAdd ( ...@@ -855,6 +856,7 @@ BootPickerEntriesAdd (
case OC_BOOT_APPLE_OS: case OC_BOOT_APPLE_OS:
SuggestedIcon = &GuiContext->Icons[ICON_APPLE][IconTypeIndex]; SuggestedIcon = &GuiContext->Icons[ICON_APPLE][IconTypeIndex];
break; break;
case OC_BOOT_APPLE_FW_UPDATE:
case OC_BOOT_APPLE_RECOVERY: case OC_BOOT_APPLE_RECOVERY:
SuggestedIcon = &GuiContext->Icons[ICON_APPLE_RECOVERY][IconTypeIndex]; SuggestedIcon = &GuiContext->Icons[ICON_APPLE_RECOVERY][IconTypeIndex];
if (SuggestedIcon->Buffer == NULL) { if (SuggestedIcon->Buffer == NULL) {
...@@ -894,7 +896,7 @@ BootPickerEntriesAdd ( ...@@ -894,7 +896,7 @@ BootPickerEntriesAdd (
SuggestedIcon = &GuiContext->Icons[ICON_GENERIC_HDD][IconTypeIndex]; SuggestedIcon = &GuiContext->Icons[ICON_GENERIC_HDD][IconTypeIndex];
break; break;
default: default:
DEBUG ((DEBUG_WARN, "OCUI: Entry kind %d unsupported for icon", Entry->Type)); DEBUG ((DEBUG_WARN, "OCUI: Entry kind %d unsupported for icon\n", Entry->Type));
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册