| 1734 | } |
| 1735 | |
| 1736 | REFIT_ABSTRACT_MENU_ENTRY* SubMenuKextPatches() |
| 1737 | { |
| 1738 | REFIT_MENU_ITEM_OPTIONS *Entry; |
| 1739 | REFIT_MENU_SCREEN *SubScreen; |
| 1740 | REFIT_INPUT_DIALOG *InputBootArgs; |
| 1741 | |
| 1742 | Entry = newREFIT_MENU_ITEM_OPTIONS(&SubScreen, ActionEnter, SCREEN_KEXTS, "Custom kexts patches->"_XS8); |
| 1743 | |
| 1744 | for ( size_t Index = 0; Index < gSettings.KernelAndKextPatches.KextPatches.size(); Index++) { |
| 1745 | InputBootArgs = new REFIT_INPUT_DIALOG; |
| 1746 | InputBootArgs->Title.SWPrintf("%90s", gSettings.KernelAndKextPatches.KextPatches[Index].Label.c_str()); |
| 1747 | // InputBootArgs->Tag = TAG_INPUT; |
| 1748 | InputBootArgs->Row = 0xFFFF; //cursor |
| 1749 | InputBootArgs->Item = &(gSettings.KernelAndKextPatches.KextPatches[Index].MenuItem); |
| 1750 | InputBootArgs->AtClick = ActionEnter; |
| 1751 | InputBootArgs->AtRightClick = ActionDetails; |
| 1752 | SubScreen->AddMenuEntry(InputBootArgs, true); |
| 1753 | } |
| 1754 | |
| 1755 | SubScreen->AddMenuEntry(&MenuEntryReturn, false); |
| 1756 | return Entry; |
| 1757 | } |
| 1758 | |
| 1759 | REFIT_ABSTRACT_MENU_ENTRY* SubMenuKextBlockInjection(const XString8& UniSysVer) |
| 1760 | { |
no test coverage detected