mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-26 12:05:36 +01:00
add BlockSkywalk into GUI menu
Signed-off-by: Slice <sergey.slice@gmail.com>
This commit is contained in:
parent
3db4e57438
commit
883e27b0a2
@ -1 +1 @@
|
|||||||
Subproject commit d4d468844b9b95f1144cd5b95d12936d190c8ba5
|
Subproject commit 242b260f6c5cb1f84e397160d1b387f3bac47e03
|
@ -396,7 +396,7 @@ void FillInputs(XBool New)
|
|||||||
InputItems[InputItemsCount].ItemType = BoolValue; //114
|
InputItems[InputItemsCount].ItemType = BoolValue; //114
|
||||||
InputItems[InputItemsCount++].BValue = gSettings.Graphics.RadeonDeInit;
|
InputItems[InputItemsCount++].BValue = gSettings.Graphics.RadeonDeInit;
|
||||||
InputItems[InputItemsCount].ItemType = BoolValue; //115
|
InputItems[InputItemsCount].ItemType = BoolValue; //115
|
||||||
InputItems[InputItemsCount++].BValue = gSettings.SystemParameters.NoCaches;
|
InputItems[InputItemsCount++].BValue = gSettings.KernelAndKextPatches.BlockSkywalk;
|
||||||
InputItems[InputItemsCount].ItemType = RadioSwitch; //116 - DSDT chooser
|
InputItems[InputItemsCount].ItemType = RadioSwitch; //116 - DSDT chooser
|
||||||
InputItems[InputItemsCount++].IValue = 116;
|
InputItems[InputItemsCount++].IValue = 116;
|
||||||
|
|
||||||
@ -984,7 +984,7 @@ void ApplyInputs(void)
|
|||||||
}
|
}
|
||||||
i++; //115
|
i++; //115
|
||||||
if (InputItems[i].Valid) {
|
if (InputItems[i].Valid) {
|
||||||
gSettings.SystemParameters.NoCaches = InputItems[i].BValue != 0;
|
gSettings.KernelAndKextPatches.BlockSkywalk = InputItems[i].BValue != 0;
|
||||||
}
|
}
|
||||||
i++; //116
|
i++; //116
|
||||||
if (InputItems[i].Valid) {
|
if (InputItems[i].Valid) {
|
||||||
@ -1958,6 +1958,7 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuBinaries()
|
|||||||
SubScreen->AddMenuItemInput(47, "AppleRTC Patch", false);
|
SubScreen->AddMenuItemInput(47, "AppleRTC Patch", false);
|
||||||
// SubScreen->AddMenuItemInput(45, "No 8 Apples Patch", false);
|
// SubScreen->AddMenuItemInput(45, "No 8 Apples Patch", false);
|
||||||
SubScreen->AddMenuItemInput(61, "Dell SMBIOS Patch", false);
|
SubScreen->AddMenuItemInput(61, "Dell SMBIOS Patch", false);
|
||||||
|
SubScreen->AddMenuItemInput(115, "Block SkywalkFamily", false);
|
||||||
// SubScreen->AddMenuItemInput(115, "No Caches", false);
|
// SubScreen->AddMenuItemInput(115, "No Caches", false);
|
||||||
// SubScreen->AddMenuItemInput(44, "Kext patching allowed", false);
|
// SubScreen->AddMenuItemInput(44, "Kext patching allowed", false);
|
||||||
SubScreen->AddMenuEntry(SubMenuKextPatches(), true);
|
SubScreen->AddMenuEntry(SubMenuKextPatches(), true);
|
||||||
|
Loading…
Reference in New Issue
Block a user