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

Function egScreenDescription

rEFIt_UEFI/libeg/libscreen.cpp:440–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440XString8 egScreenDescription(VOID)
441{
442 if (egHasGraphics) {
443 if (GraphicsOutput != NULL) {
444 return S8Printf("Graphics Output (UEFI), %lldx%lld", egScreenWidth, egScreenHeight);
445 } else if (UgaDraw != NULL) {
446 return S8Printf("UGA Draw (EFI 1.10), %lldx%lld", egScreenWidth, egScreenHeight);
447 } else {
448 return "Internal Error"_XS8;
449 }
450 } else {
451 return "Text Console"_XS8;
452 }
453}
454
455BOOLEAN egHasGraphicsMode(VOID)
456{

Callers 1

AboutRefitFunction · 0.85

Calls 1

S8PrintfFunction · 0.85

Tested by

no test coverage detected