| 548 | //EG_PIXEL DarkBackgroundPixel = { 0x0, 0x0, 0x0, 0xFF }; |
| 549 | |
| 550 | VOID 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 | |
| 565 | VOID LOADER_ENTRY::StartLoader() |
| 566 | { |