mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
Reset configPlist before reloading.
This commit is contained in:
parent
d09312d0f7
commit
eebffc9de8
@ -563,6 +563,7 @@ return Status;
|
|||||||
*/
|
*/
|
||||||
EFI_STATUS ConfigManager::LoadConfigPlist(const XStringW& ConfName)
|
EFI_STATUS ConfigManager::LoadConfigPlist(const XStringW& ConfName)
|
||||||
{
|
{
|
||||||
|
configPlist.reset();
|
||||||
configPlist.SMBIOS.defaultMacModel = GetDefaultModel();
|
configPlist.SMBIOS.defaultMacModel = GetDefaultModel();
|
||||||
EFI_STATUS Status = LoadPlist(ConfName, &configPlist);
|
EFI_STATUS Status = LoadPlist(ConfName, &configPlist);
|
||||||
|
|
||||||
@ -575,6 +576,7 @@ EFI_STATUS ConfigManager::LoadConfigPlist(const XStringW& ConfName)
|
|||||||
*/
|
*/
|
||||||
EFI_STATUS ConfigManager::LoadSMBIOSPlist(const XStringW& ConfName)
|
EFI_STATUS ConfigManager::LoadSMBIOSPlist(const XStringW& ConfName)
|
||||||
{
|
{
|
||||||
|
smbiosPlist.reset();
|
||||||
smbiosPlist.SMBIOS.defaultMacModel = GetDefaultModel();
|
smbiosPlist.SMBIOS.defaultMacModel = GetDefaultModel();
|
||||||
EFI_STATUS Status = LoadPlist(ConfName, &smbiosPlist);
|
EFI_STATUS Status = LoadPlist(ConfName, &smbiosPlist);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user