mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
NoDefaultProperties will be true by default, AddProperties to be deprecated
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
84c8e614e3
commit
84ebcbb439
@ -599,49 +599,6 @@
|
||||
</dict>
|
||||
<key>Devices</key>
|
||||
<dict>
|
||||
<key>#AddProperties</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>Device</key>
|
||||
<string>IntelGFX</string>
|
||||
<key>Disabled</key>
|
||||
<true/>
|
||||
<key>Key</key>
|
||||
<string>framebuffer-patch-enable</string>
|
||||
<key>Value</key>
|
||||
<data>AQAAAA==</data>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Device</key>
|
||||
<string>IntelGFX</string>
|
||||
<key>Disabled</key>
|
||||
<true/>
|
||||
<key>Key</key>
|
||||
<string>framebuffer-stolenmem</string>
|
||||
<key>Value</key>
|
||||
<data>AAAwAQ==</data>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Device</key>
|
||||
<string>IntelGFX</string>
|
||||
<key>Disabled</key>
|
||||
<true/>
|
||||
<key>Key</key>
|
||||
<string>framebuffer-fbmem</string>
|
||||
<key>Value</key>
|
||||
<data>AACQAA==</data>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Device</key>
|
||||
<string>IntelGFX</string>
|
||||
<key>Disabled</key>
|
||||
<true/>
|
||||
<key>Key</key>
|
||||
<string>framebuffer-unifiedmem</string>
|
||||
<key>Value</key>
|
||||
<data>AAAAgA==</data>
|
||||
</dict>
|
||||
</array>
|
||||
<key>#FakeID</key>
|
||||
<dict>
|
||||
<key>#WIFI</key>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -650,8 +650,8 @@ extern UINTN gEvent;
|
||||
|
||||
extern UINT16 gBacklightLevel;
|
||||
|
||||
extern BOOLEAN defDSM;
|
||||
extern UINT16 dropDSM;
|
||||
//extern BOOLEAN defDSM;
|
||||
//extern UINT16 dropDSM;
|
||||
|
||||
extern TagPtr gConfigDict[];
|
||||
|
||||
|
@ -317,7 +317,7 @@ radeon_card_info_t radeon_cards[] = {
|
||||
{ 0x67CA, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
|
||||
{ 0x67CC, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
|
||||
{ 0x67CF, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
|
||||
{ 0x67DF, CHIP_FAMILY_ELLESMERE, "AMD Radeon RX 480", kBaladi },
|
||||
{ 0x67DF, CHIP_FAMILY_ELLESMERE, "AMD Radeon RX 480/570/580", kBaladi },
|
||||
|
||||
// Polaris 11
|
||||
{ 0x67E0, CHIP_FAMILY_BAFFIN, "AMD Radeon RX 460", kAcre },
|
||||
|
@ -149,7 +149,7 @@ VOID FillCardList(TagPtr CfgDict)
|
||||
VideoPorts = (UINT16)GetPropertyInteger(prop2, VideoPorts);
|
||||
|
||||
prop2 = GetProperty(element, "LoadVBios");
|
||||
if (prop2 != NULL && IsPropertyTrue (prop2)) {
|
||||
if (prop2 != NULL && IsPropertyTrue(prop2)) {
|
||||
LoadVBios = TRUE;
|
||||
}
|
||||
|
||||
|
@ -1099,7 +1099,7 @@ SymbolPtr FindSymbol(CHAR8 *tmpString, SymbolPtr *prevSymbol )
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyTrue (
|
||||
IsPropertyTrue(
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
@ -1114,7 +1114,7 @@ IsPropertyTrue (
|
||||
else return FALSE
|
||||
*/
|
||||
BOOLEAN
|
||||
IsPropertyFalse (
|
||||
IsPropertyFalse(
|
||||
TagPtr Prop
|
||||
)
|
||||
{
|
||||
|
@ -102,19 +102,19 @@ GetTagCount (
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
GetElement (
|
||||
GetElement(
|
||||
TagPtr dict,
|
||||
INTN id,
|
||||
TagPtr *dict1
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
IsPropertyTrue (
|
||||
IsPropertyTrue(
|
||||
TagPtr Prop
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
IsPropertyFalse (
|
||||
IsPropertyFalse(
|
||||
TagPtr Prop
|
||||
);
|
||||
|
||||
|
@ -353,7 +353,7 @@ EFI_STATUS XTheme::ParseSVGXTheme(CONST CHAR8* buffer)
|
||||
INTN Count = GetTagCount (Dict);
|
||||
for (INTN i = 0; i < Count; i++) {
|
||||
FILM *NewFilm = new FILM();
|
||||
if (EFI_ERROR(GetElement (Dict, i, &Dict3))) {
|
||||
if (EFI_ERROR(GetElement(Dict, i, &Dict3))) {
|
||||
continue;
|
||||
}
|
||||
if (Dict3 == NULL) {
|
||||
@ -406,7 +406,7 @@ EFI_STATUS XTheme::ParseSVGXTheme(CONST CHAR8* buffer)
|
||||
NewFilm->NudgeY = GetPropertyInteger(Dict2, INITVALUE);
|
||||
|
||||
Dict2 = GetProperty(Dict3, "Once");
|
||||
NewFilm->RunOnce = IsPropertyTrue (Dict2);
|
||||
NewFilm->RunOnce = IsPropertyTrue(Dict2);
|
||||
|
||||
NewFilm->GetFrames(ThemeX); //used properties: ID, Path, NumFrames
|
||||
ThemeX.Cinema.AddFilm(NewFilm);
|
||||
|
Loading…
Reference in New Issue
Block a user