From d0c7a3e05a1bb5c9cffd1a0946e403d3a8e37e63 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 31 Jan 2025 19:05:36 +0100 Subject: Match the changes in OpenNE, (without reusing it) Signed-off-by: Amlal El Mahrouss --- dev/Boot/BootKit/BootKit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/Boot/BootKit/BootKit.h') diff --git a/dev/Boot/BootKit/BootKit.h b/dev/Boot/BootKit/BootKit.h index 5a537448..81f0796a 100644 --- a/dev/Boot/BootKit/BootKit.h +++ b/dev/Boot/BootKit/BootKit.h @@ -218,7 +218,7 @@ namespace Boot ~BDiskFormatFactory() = default; - ZKA_COPY_DELETE(BDiskFormatFactory); + NE_COPY_DELETE(BDiskFormatFactory); /// @brief Format disk using partition name and blob_list. /// @param Partition part_name the target partition name. @@ -332,7 +332,7 @@ namespace Boot { fb_init(); - FBDrawBitMapInRegion(zka_no_disk, ZKA_NO_DISK_WIDTH, ZKA_NO_DISK_HEIGHT, (kHandoverHeader->f_GOP.f_Width - ZKA_NO_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - ZKA_NO_DISK_HEIGHT) / 2); + FBDrawBitMapInRegion(zka_no_disk, NE_NO_DISK_WIDTH, NE_NO_DISK_HEIGHT, (kHandoverHeader->f_GOP.f_Width - NE_NO_DISK_WIDTH) / 2, (kHandoverHeader->f_GOP.f_Height - NE_NO_DISK_HEIGHT) / 2); EFI::ThrowError(L"Drive-Too-Tiny", L"Can't format a NeFS partition here."); return false; } -- cgit v1.2.3