diff --git a/rEFIt_UEFI/Platform/Injectors.cpp b/rEFIt_UEFI/Platform/Injectors.cpp index 0312e9ac7..4a79d3e38 100644 --- a/rEFIt_UEFI/Platform/Injectors.cpp +++ b/rEFIt_UEFI/Platform/Injectors.cpp @@ -402,7 +402,8 @@ SetPrivateVarProto(void) EFI_STATUS Status; //This must be independent install // optional protocols - Status = gBS->InstallMultipleProtocolInterfaces (&gImageHandle, + EFI_HANDLE NewHandle = NULL; + Status = gBS->InstallMultipleProtocolInterfaces ( &NewHandle,///&gImageHandle, &gAppleFramebufferInfoProtocolGuid, &mScreenInfo, // &gEfiOSInfoProtocolGuid, diff --git a/rEFIt_UEFI/gui/REFIT_MENU_SCREEN.cpp b/rEFIt_UEFI/gui/REFIT_MENU_SCREEN.cpp index 940a9044a..8b2268c1c 100644 --- a/rEFIt_UEFI/gui/REFIT_MENU_SCREEN.cpp +++ b/rEFIt_UEFI/gui/REFIT_MENU_SCREEN.cpp @@ -76,7 +76,7 @@ #include "../Platform/StartupSound.h" // for audioIo ///0C483552-CAC3-4E72-B7DD-94F16C44C394 -constexpr const EFI_GUID PreGuid = { 0x0C483552, 0xCAC3, 0x4E72, { 0x87, 0xDD, 0x94, 0xF1, 0x6C, 0x44, 0xC3, 0x94 } }; +//constexpr const EFI_GUID PreGuid = { 0x0C483552, 0xCAC3, 0x4E72, { 0x87, 0xDD, 0x94, 0xF1, 0x6C, 0x44, 0xC3, 0x94 } }; void testEfires() { // EFI_STATUS Status;