diff --git a/Changelog.md b/Changelog.md index 3f186a9de5db35ac862a6e5c5eccdf8398125a15..58d68159d9ba24bc89c818eb61ec23e8d566e7af 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,10 @@ OpenCore Changelog ================== +#### v0.5.6 +- Various improvements to builtin text renderer +- Fixed locating dmg recovery in APTIO IV firmwares on FAT32 + #### v0.5.5 - Fixed CPU bus ratio calculation for Nehalem and Westmere - Fixed CPU package calculation on MacPro5,1 and similar diff --git a/Include/OpenCore.h b/Include/OpenCore.h index 7a9780023d7cd56d94e8866bbfce23455cf17239..f45d15fc4915373c573b5d3eb55e0c4ab01fe6f8 100644 --- a/Include/OpenCore.h +++ b/Include/OpenCore.h @@ -47,17 +47,6 @@ #define OPEN_CORE_IMAGE_PATH L"EFI\\OC\\OpenCore.efi" -/** - Multiple boards, namely ASUS P8H61-M and P8H61-M LX2 will not - open directories with trailing slash. It is irrelevant whether - front slash is present for them. - - This means L"EFI\\OC\\" and L"\\EFI\\OC\\" will both fail to open, - while L"EFI\\OC" and L"\\EFI\\OC" will open fine. - - We do not open any directories except root path and dmg, so the - hack lives here. -**/ #define OPEN_CORE_ROOT_PATH L"EFI\\OC" #define OPEN_CORE_CONFIG_PATH L"config.plist" diff --git a/Platform/OpenCore/OpenCoreKernel.c b/Platform/OpenCore/OpenCoreKernel.c index 70b923b1ac011dfc91291ac43be20e6ae80fc6a0..652420f9eb8623f6fa1831ce9ef852aea15035a3 100644 --- a/Platform/OpenCore/OpenCoreKernel.c +++ b/Platform/OpenCore/OpenCoreKernel.c @@ -666,7 +666,7 @@ OcKernelFileOpen ( EFI_TIME ModificationTime; UINT32 DarwinVersion; - Status = This->Open (This, NewHandle, FileName, OpenMode, Attributes); + Status = SafeFileOpen (This, NewHandle, FileName, OpenMode, Attributes); DEBUG (( DEBUG_VERBOSE,