mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
ChipTune: Fix EfiPkg compatibility
This commit is contained in:
parent
4bcb2f17be
commit
643c14b219
@ -118,7 +118,7 @@ UefiMain (
|
||||
NULL,
|
||||
(VOID **) &BeepGenProtocol
|
||||
);
|
||||
if (EFI_ERROR (Status) || BeepGenProtocol->AppleBeepGenBeep == NULL) {
|
||||
if (EFI_ERROR (Status) || BeepGenProtocol->GenBeep == NULL) {
|
||||
Print (L"Beep protocol is unusable - %r\n", Status);
|
||||
BeepGenProtocol = NULL;
|
||||
}
|
||||
@ -145,7 +145,7 @@ UefiMain (
|
||||
);
|
||||
|
||||
if (BeepGenProtocol != NULL) {
|
||||
Status = BeepGenProtocol->AppleBeepGenBeep (
|
||||
Status = BeepGenProtocol->GenBeep (
|
||||
Count,
|
||||
Signal,
|
||||
Silence
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user