mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-02 22:51:28 +01:00
PutNvramPlistToRtVars buf after plist refactoring
This commit is contained in:
parent
8dcf25dc6d
commit
5b1eea4df0
@ -1046,10 +1046,11 @@ PutNvramPlistToRtVars ()
|
||||
DbgHeader("PutNvramPlistToRtVars");
|
||||
// DBG("PutNvramPlistToRtVars ...\n");
|
||||
// iterate over dict elements
|
||||
for (Tag = gNvramDict->dictTagValue(); Tag != NULL; Tag = Tag->nextTagValue()) {
|
||||
for (Tag = gNvramDict->dictTagValue(); Tag != NULL; Tag = Tag->nextTagValue())
|
||||
{
|
||||
EFI_GUID *VendorGuid = &gEfiAppleBootGuid;
|
||||
Value = NULL;
|
||||
ValTag = Tag->dictTagValue();
|
||||
if ( Tag->isKey() ) ValTag = Tag->keyTagValue();
|
||||
|
||||
// process only valid <key> tags
|
||||
if (!Tag->isKey() || ValTag == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user