// Keyboard input
//
-static BOOLEAN ReadAllKeyStrokes(VOID)
+BOOLEAN ReadAllKeyStrokes(VOID)
{
BOOLEAN GotKeyStrokes;
EFI_STATUS Status;
if (!EFI_ERROR(Status))
return FALSE;
-// StatusToString(ErrorName, Status);
gST->ConOut->SetAttribute (gST->ConOut, ATTR_ERROR);
Print(L"Fatal Error: %r %s\n", Status, where);
gST->ConOut->SetAttribute (gST->ConOut, ATTR_BASIC);
BOOLEAN CheckError(IN EFI_STATUS Status, IN CHAR16 *where)
{
-// CHAR16 ErrorName[64];
-
if (!EFI_ERROR(Status))
return FALSE;
-// StatusToString(ErrorName, Status);
gST->ConOut->SetAttribute (gST->ConOut, ATTR_ERROR);
Print(L"Error: %r %s\n", Status, where);
gST->ConOut->SetAttribute (gST->ConOut, ATTR_BASIC);
egClearScreen(&MenuBackgroundPixel);
if (Banner != NULL) {
BannerPosX = (Banner->Width < UGAWidth) ? ((UGAWidth - Banner->Width) / 2) : 0;
- BannerPosY = (ComputeRow0PosX() / 2) - Banner->Height;
+ BannerPosY = (INTN) (ComputeRow0PosY() / 2) - (INTN) Banner->Height;
if (BannerPosY < 0)
BannerPosY = 0;
GlobalConfig.BannerBottomEdge = BannerPosY + Banner->Height;
GraphicsScreenDirty = FALSE;
egFreeImage(GlobalConfig.ScreenBackground);
GlobalConfig.ScreenBackground = egCopyScreen();
-}
+} /* VOID BltClearScreen() */
VOID BltImage(IN EG_IMAGE *Image, IN UINTN XPos, IN UINTN YPos)
{