mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
take into account non-GOP gfx to be able to change properties in GUI
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
30f3048fbf
commit
8216d9f442
@ -95,7 +95,7 @@ void ConfigManager::DiscoverDevices()
|
||||
&Pci
|
||||
);
|
||||
|
||||
DBG("PCI (%02llX|%02llX:%02llX.%02llX) : %04hX %04hX class=%02hhX%02hhX%02hhX\n",
|
||||
DBG("PCI (%02llX|%02llX:%02llX.%02llX) : %04hX %04hX class=%02hhX%02hhX%02hhX\n",
|
||||
Segment,
|
||||
Bus,
|
||||
Device,
|
||||
@ -254,6 +254,8 @@ void ConfigManager::DiscoverDevices()
|
||||
}else{
|
||||
GfxPropertiesArrayNonConst.AddReference(gfx, true);
|
||||
}
|
||||
} else {
|
||||
GfxPropertiesArrayNonConst.AddReference(gfx, true);
|
||||
}
|
||||
} //if gfx
|
||||
|
||||
|
@ -2239,7 +2239,7 @@ void CreateMenuProps(REFIT_MENU_SCREEN* SubScreen, SETTINGS_DATA::DevicesClass::
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void CreateMenuAddProp(REFIT_MENU_SCREEN* SubScreen, SETTINGS_DATA::DevicesClass::AddPropertyClass* Prop)
|
||||
{
|
||||
REFIT_INPUT_DIALOG *InputBootArgs;
|
||||
@ -2272,7 +2272,7 @@ void CreateMenuAddProp(REFIT_MENU_SCREEN* SubScreen, SETTINGS_DATA::DevicesClass
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
REFIT_ABSTRACT_MENU_ENTRY* SubMenuProperties()
|
||||
{
|
||||
REFIT_MENU_ITEM_OPTIONS *Entry;
|
||||
@ -2295,7 +2295,7 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuProperties()
|
||||
Entry->SubScreen = SubScreen;
|
||||
return Entry;
|
||||
}
|
||||
|
||||
/*
|
||||
REFIT_ABSTRACT_MENU_ENTRY* SubMenuArbProperties()
|
||||
{
|
||||
REFIT_MENU_ITEM_OPTIONS *Entry;
|
||||
@ -2332,7 +2332,7 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuAddProperties()
|
||||
Entry->SubScreen = SubScreen;
|
||||
return Entry;
|
||||
}
|
||||
|
||||
*/
|
||||
REFIT_ABSTRACT_MENU_ENTRY* SubMenuPCI()
|
||||
{
|
||||
REFIT_MENU_ITEM_OPTIONS *Entry;
|
||||
@ -2351,8 +2351,8 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuPCI()
|
||||
SubScreen->AddMenuItemInput(100, "FakeID XHCI:", true);
|
||||
SubScreen->AddMenuItemInput(103, "FakeID IMEI:", true);
|
||||
SubScreen->AddMenuEntry(SubMenuProperties(), true);
|
||||
SubScreen->AddMenuEntry(SubMenuArbProperties(), true);
|
||||
SubScreen->AddMenuEntry(SubMenuAddProperties(), true);
|
||||
// SubScreen->AddMenuEntry(SubMenuArbProperties(), true);
|
||||
// SubScreen->AddMenuEntry(SubMenuAddProperties(), true);
|
||||
|
||||
SubScreen->AddMenuEntry(&MenuEntryReturn, false);
|
||||
Entry->SubScreen = SubScreen;
|
||||
|
Loading…
Reference in New Issue
Block a user