diff options
| author | Amlal <amlalelmahrouss@icloud.com> | 2024-12-01 09:54:00 +0100 |
|---|---|---|
| committer | Amlal <amlalelmahrouss@icloud.com> | 2024-12-01 09:54:00 +0100 |
| commit | 1feb3848114c6fabb569af3c7fd08cdeaacdff82 (patch) | |
| tree | 3d489440203dcac6d507aa6fa715fd7d0559214f /dev/ZBAKit/src | |
| parent | 6eb2b554c61574c16c168132ba68b82dcc5c1f0c (diff) | |
ZBA: Include resource file to define executable's metadata.
FB: Framebuffer module got some refactors.
Signed-off-by: Amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBAKit/src')
| -rw-r--r-- | dev/ZBAKit/src/HEL/AMD64/BootMain.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ZBAKit/src/HEL/AMD64/BootMain.cc b/dev/ZBAKit/src/HEL/AMD64/BootMain.cc index 77de8a7b..87336fbd 100644 --- a/dev/ZBAKit/src/HEL/AMD64/BootMain.cc +++ b/dev/ZBAKit/src/HEL/AMD64/BootMain.cc @@ -142,11 +142,11 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle, kHandoverHeader = handover_hdr; #ifdef ZBA_USE_FB - CGInit(); - CGDrawInRegion(CGColor(0x00, 0x00, 0x00), handover_hdr->f_GOP.f_Height, handover_hdr->f_GOP.f_Width, 0, 0); - CGFini(); + cg_init(); + CGDrawInRegion(cg_color(0x00, 0x00, 0x00), handover_hdr->f_GOP.f_Height, handover_hdr->f_GOP.f_Width, 0, 0); + cg_fini(); - CGFini(); + cg_fini(); #endif // ZBA_USE_FB UInt32 cnt_enabled = 0; |
