mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-12 19:30:44 +01:00
Correct typo in previous commit
This commit is contained in:
parent
ccfbc5b558
commit
d10cadac4b
@ -1959,8 +1959,8 @@ LOADER_ENTRY::BooterPatch(IN UINT8 *BooterData, IN UINT64 BooterSize)
|
|||||||
{
|
{
|
||||||
INTN Num, i = 0, y = 0;
|
INTN Num, i = 0, y = 0;
|
||||||
|
|
||||||
// if we modify directly KernelAndKextPatches-BootPatches[i].SearchLen, it will wrong for next driver
|
// if we modify directly KernelAndKextPatches->BootPatches[i].SearchLen, it will wrong for next driver
|
||||||
UINTN SearchLen = KernelAndKextPatches->KernelPatches[i].SearchLen;
|
UINTN SearchLen = KernelAndKextPatches->BootPatches[i].SearchLen;
|
||||||
|
|
||||||
if (!SearchLen) {
|
if (!SearchLen) {
|
||||||
SearchLen = BooterSize;
|
SearchLen = BooterSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user