MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / SetupScreen

Function SetupScreen

rEFIt_UEFI/refit/screen.cpp:126–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126VOID SetupScreen(VOID)
127{
128 if (GlobalConfig.TextOnly) {
129 // switch to text mode if requested
130 AllowGraphicsMode = FALSE;
131 SwitchToText(FALSE);
132 } else if (AllowGraphicsMode) {
133 // clear screen and show banner
134 // (now we know we'll stay in graphics mode)
135 SwitchToGraphics();
136 //BltClearScreen(TRUE);
137 }
138}
139
140static VOID SwitchToText(IN BOOLEAN CursorEnabled)
141{

Callers 1

RefitMainFunction · 0.85

Calls 2

SwitchToTextFunction · 0.85
SwitchToGraphicsFunction · 0.85

Tested by

no test coverage detected