mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-02 22:51:28 +01:00
force init patcher
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
762eac695c
commit
cf5b919627
@ -2384,7 +2384,8 @@ LOADER_ENTRY::KernelAndKextsPatcherStart()
|
||||
* so set common until better solution invented
|
||||
*/
|
||||
KernelAndKextPatches = (KERNEL_AND_KEXT_PATCHES *)(((UINTN)&gSettings) + OFFSET_OF(SETTINGS_DATA, KernelAndKextPatches));
|
||||
|
||||
|
||||
PatcherInited = false;
|
||||
// we will call KernelAndKextPatcherInit() only if needed
|
||||
if (KernelAndKextPatches == NULL) return; //entry is not null as double check
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "DataHubCpu.h"
|
||||
|
||||
#ifndef DEBUG_ALL
|
||||
#define KEXT_INJECT_DEBUG 0
|
||||
#define KEXT_INJECT_DEBUG 00
|
||||
#else
|
||||
#define KEXT_INJECT_DEBUG DEBUG_ALL
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user