提交 11a3fd29 编写于 作者: V vit9696

OpenCoreMisc: Use builtin picker when external picker fails to load

上级 796765ca
......@@ -12,6 +12,7 @@ OpenCore Changelog
- Fixed unrecognised select `com.apple.recovery.boot` entries
- Changed NVRAM reset not to erase `BootProtect` boot options
- Improved boot performance when picker UI is disabled
- Enforced the use of builtin picker when external fails
#### v0.5.8
- Fixed invalid CPU object reference in SSDT-PLUG
......
......@@ -713,9 +713,15 @@ OcMiscBoot (
if (Interface != NULL) {
Status = Interface->ShowInteface (Interface, Storage, Context);
DEBUG ((DEBUG_WARN, "OC: External interface failure, fallback to builtin - %r\n", Status));
} else {
Status = EFI_UNSUPPORTED;
}
if (EFI_ERROR (Status)) {
Status = OcRunBootPicker (Context);
}
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "OC: Failed to show boot menu!\n"));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册