mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
Fixed invalid vm kext size rounding
This commit is contained in:
parent
150e971871
commit
d8d3e75896
@ -605,8 +605,8 @@ PrelinkedInjectKext (
|
||||
);
|
||||
|
||||
if (PrelinkedKext != NULL) {
|
||||
if (AlignedLoadSize < ExecutableSize) {
|
||||
AlignedLoadSize = ExecutableSize;
|
||||
if (AlignedLoadSize < AlignedExecutableSize) {
|
||||
AlignedLoadSize = AlignedExecutableSize;
|
||||
}
|
||||
|
||||
AsciiIntegerToLowerHex (ExecutableSizeStr, sizeof (ExecutableSizeStr), AlignedLoadSize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user