hekate/nyx: utilize existing block size defines

This commit is contained in:
CTCaer committed 2024-03-12 15:53:05 +02:00
1 parent f126486266
commit 82925845e3
8 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ static void _get_valid_partition(u32 *sector_start, u32 *sector_size, u32 *part_
{
if (backup)
{
u8 gpt_check[512] = { 0 };
u8 gpt_check[SD_BLOCKSIZE] = { 0 };
sdmmc_storage_read(&sd_storage, *sector_start + 0xC001, 1, gpt_check);
if (!memcmp(gpt_check, "EFI PART", 8))
{