diff --git a/Changelog.md b/Changelog.md index c77777d6..787705c9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -10,6 +10,7 @@ OpenCore Changelog - Added mkext 32-bit kext injection (10.4-10.6) - Added cacheless 32-bit kext injection (10.4-10.7) - Added 32-bit kernel/kext patching/blocking support +- Fixed issues loading 10.7 EfiBoot #### v0.6.1 - Improved recognition of early pressed hotkeys, thx @varahash diff --git a/Library/OcPeCoffLib/OcPeCoffLib.c b/Library/OcPeCoffLib/OcPeCoffLib.c index c012952b..c846215c 100644 --- a/Library/OcPeCoffLib/OcPeCoffLib.c +++ b/Library/OcPeCoffLib/OcPeCoffLib.c @@ -121,8 +121,7 @@ InternalVerifySections ( // // FIXME: Misaligned images should be handled with a PCD. // - if (Sections[SectIndex].VirtualAddress < SectRvaPrevEnd - || Sections[SectIndex].VirtualAddress > NextSectRva) { + if (Sections[SectIndex].VirtualAddress < SectRvaPrevEnd) { return IMAGE_ERROR_UNSUPPORTED; }