Skip to content

Commit

Permalink
OcAppleEventLib: Log resolution determination
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaeuser committed Apr 5, 2021
1 parent 717ce18 commit c528597
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Library/OcAppleEventLib/PointerHandler.c
Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down

1 comment on commit c528597

@Sniki
Copy link

@Sniki Sniki commented on c528597 Apr 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vandroiy2013 the latest OC 0.6.8 release and debug builds haven't shown up yet on the release tab, only changelog and source code, is it possible due to latest commit not having passed all checks ?

Please sign in to comment.