From 9d5aa267a9133fd9390b62012c21428fc77681f2 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Tue, 2 Jun 2020 03:57:54 +0300 Subject: [PATCH] OpenCanopy: Fixed icon choice for Apple FW update --- Changelog.md | 4 ++++ Platform/OpenCanopy/Views/BootPicker.c | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 5a54453b..a2210042 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,10 @@ OpenCore Changelog ================== +#### v0.6.0 +- Fixed sound corruption with AudioDxe +- Fixed icon choice for Apple FW update in OpenCanopy + #### v0.5.9 - Added full HiDPI support in OpenCanopy - Improved OpenCanopy font rendering by using CoreText diff --git a/Platform/OpenCanopy/Views/BootPicker.c b/Platform/OpenCanopy/Views/BootPicker.c index 66ca8bee..1b42ab24 100644 --- a/Platform/OpenCanopy/Views/BootPicker.c +++ b/Platform/OpenCanopy/Views/BootPicker.c @@ -775,6 +775,7 @@ BootPickerEntriesAdd ( case OC_BOOT_APPLE_OS: Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE]); break; + case OC_BOOT_APPLE_FW_UPDATE: case OC_BOOT_APPLE_RECOVERY: Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_APPLE_RECOVERY]); break; @@ -803,7 +804,7 @@ BootPickerEntriesAdd ( Status = CopyLabel (&VolumeEntry->Label, &GuiContext->Labels[LABEL_GENERIC_HDD]); break; 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; } } @@ -855,6 +856,7 @@ BootPickerEntriesAdd ( case OC_BOOT_APPLE_OS: SuggestedIcon = &GuiContext->Icons[ICON_APPLE][IconTypeIndex]; break; + case OC_BOOT_APPLE_FW_UPDATE: case OC_BOOT_APPLE_RECOVERY: SuggestedIcon = &GuiContext->Icons[ICON_APPLE_RECOVERY][IconTypeIndex]; if (SuggestedIcon->Buffer == NULL) { @@ -894,7 +896,7 @@ BootPickerEntriesAdd ( SuggestedIcon = &GuiContext->Icons[ICON_GENERIC_HDD][IconTypeIndex]; break; 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; } -- GitLab