DrawScreenHeader(L"Initializing...");
}
+// Set the screen resolution and mode (text vs. graphics).
VOID SetupScreen(VOID)
{
UINTN NewWidth, NewHeight;
}
if (GlobalConfig.RequestedScreenWidth > 0) {
- egSetScreenSize(&GlobalConfig.RequestedScreenWidth, &GlobalConfig.RequestedScreenHeight);
+ egSetScreenSize(&(GlobalConfig.RequestedScreenWidth), &(GlobalConfig.RequestedScreenHeight));
egGetScreenSize(&UGAWidth, &UGAHeight);
} // if user requested a particular screen resolution
VOID SwitchToText(IN BOOLEAN CursorEnabled)
{
- egSetGraphicsModeEnabled(FALSE);
+ egSetGraphicsModeEnabled(FALSE);
refit_call2_wrapper(ST->ConOut->EnableCursor, ST->ConOut, CursorEnabled);
// get size of text console
if (refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, ST->ConOut->Mode->Mode, &ConWidth, &ConHeight) != EFI_SUCCESS) {