mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-22 21:01:31 +01:00
Fix DSDT oem path.
Test : using OC OSInfo protocol.
This commit is contained in:
parent
2bc776d63e
commit
72f4ddd9a6
@ -1 +1 @@
|
||||
Subproject commit e61b48c992d2e43700dd1cd8b77d0d9d47149c6a
|
||||
Subproject commit a638b1bdf8f0656e3e4264159d9efa245d344dd2
|
@ -1966,7 +1966,7 @@ EFI_STATUS PatchACPI(IN REFIT_VOLUME *Volume, const XString8& OSVersion)
|
||||
|
||||
if ( FileExists(&selfOem.getOemDir(), acpiPath) ) {
|
||||
DBG("DSDT found in Clover volume OEM folder: %ls\\%ls\n", selfOem.getOemFullPath().wc_str(), acpiPath.wc_str());
|
||||
Status = egLoadFile(&self.getCloverDir(), acpiPath.wc_str(), &buffer, &bufferLen);
|
||||
Status = egLoadFile(&selfOem.getOemDir(), acpiPath.wc_str(), &buffer, &bufferLen);
|
||||
//REVIEW: memory leak... buffer
|
||||
}
|
||||
|
||||
|
@ -367,8 +367,8 @@ SetPrivateVarProto(void)
|
||||
Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle,
|
||||
&gAppleFramebufferInfoProtocolGuid,
|
||||
&mScreenInfo,
|
||||
&gEfiOSInfoProtocolGuid,
|
||||
&mEfiOSInfo,
|
||||
// &gEfiOSInfoProtocolGuid,
|
||||
// &mEfiOSInfo,
|
||||
&gAppleGraphConfigProtocolGuid,
|
||||
&mGraphConfig,
|
||||
&gEfiKeyboardInfoProtocolGuid,
|
||||
|
Loading…
Reference in New Issue
Block a user