diff --git a/Library/OcAppleEventLib/PointerHandler.c b/Library/OcAppleEventLib/PointerHandler.c index 9875119007e..202e4d9bd58 100644 --- a/Library/OcAppleEventLib/PointerHandler.c +++ b/Library/OcAppleEventLib/PointerHandler.c @@ -496,6 +496,12 @@ InternalGetScreenResolution ( mScreenResolutionSet = TRUE; } + DEBUG (( + DEBUG_INFO, + "OCAE: Failed to handle GOP, discovering UGA - %r\n", + Status + )); + Status = EFI_SUCCESS; } else if (!EFI_ERROR (Status)) { Info = GraphicsOutput->Mode->Info; @@ -510,8 +516,23 @@ InternalGetScreenResolution ( } else { Status = EFI_NOT_READY; } + } else { + DEBUG (( + DEBUG_INFO, + "OCAE: Failed to handle GOP - %r\n", + Status + )); } + DEBUG (( + DEBUG_INFO, + "OCAE: Set screen resolution to %dx%d [%d] - %r\n", + mResolution.Horizontal, + mResolution.Vertical, + mScreenResolutionSet, + Status + )); + return Status; }