Skip to content

Commit

Permalink
allow the patch
Browse files Browse the repository at this point in the history
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
  • Loading branch information
SergeySlice committed Jan 28, 2022
1 parent 6ece746 commit f93c2a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/OcMainLib/OpenCoreKernelPatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@ OcKernelApplyPatches (
OcKernelApplyQuirk (KernelQuirkLegacyCommpage, CacheType, DarwinVersion, NULL, &KernelPatcher);
}
// it is dangerous
// if (Config->Kernel.Quirks.ProvideCurrentCpuInfo) {
// PatchProvideCurrentCpuInfo (&KernelPatcher, CpuInfo, DarwinVersion);
// }
if (Config->Kernel.Quirks.ProvideCurrentCpuInfo) {
PatchProvideCurrentCpuInfo (&KernelPatcher, CpuInfo, DarwinVersion);
}
}
}

Expand Down

0 comments on commit f93c2a2

Please sign in to comment.