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

Function CheckEmptyFB

rEFIt_UEFI/refit/main.cpp:550–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548//EG_PIXEL DarkBackgroundPixel = { 0x0, 0x0, 0x0, 0xFF };
549
550VOID CheckEmptyFB()
551{
552 BOOLEAN EmptyFB = (gSettings.IgPlatform == 0x00050000) ||
553 (gSettings.IgPlatform == 0x01620007) ||
554 (gSettings.IgPlatform == 0x04120004) ||
555 (gSettings.IgPlatform == 0x19120001) ||
556 (gSettings.IgPlatform == 0x59120003) ||
557 (gSettings.IgPlatform == 0x3E910003);
558 if (EmptyFB) {
559 gPlatformFeature |= PT_FEATURE_HAS_HEADLESS_GPU;
560 } else {
561 gPlatformFeature &= ~PT_FEATURE_HAS_HEADLESS_GPU;
562 }
563}
564
565VOID LOADER_ENTRY::StartLoader()
566{

Callers 1

StartLoaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected