Frontpage: Use a larger SimpleText console mode

This commit is contained in:
CoolStar
2016-12-08 16:15:57 -08:00
committed by Matt DeVillier
parent 091f5d689f
commit ed1cf61e3e

View File

@ -1216,6 +1216,8 @@ PlatformBdsEnterFrontPage (
}
if (SimpleTextOut != NULL) {
SimpleTextOut->SetMode (SimpleTextOut, 2);
Status = SimpleTextOut->QueryMode (
SimpleTextOut,
SimpleTextOut->Mode->Mode,
@ -1224,13 +1226,10 @@ PlatformBdsEnterFrontPage (
);
mBootTextModeColumn = (UINT32)BootTextColumn;
mBootTextModeRow = (UINT32)BootTextRow;
}
//
// Get user defined text mode for setup.
//
mSetupTextModeColumn = PcdGet32 (PcdSetupConOutColumn);
mSetupTextModeRow = PcdGet32 (PcdSetupConOutRow);
mSetupTextModeColumn = mBootTextModeColumn;
mSetupTextModeRow = mBootTextModeRow;
}
mModeInitialized = TRUE;
}