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
@@ -595,7 +595,7 @@ static lv_res_t _action_ums_emuemmc_gpp(lv_obj_t *btn)
error = 1;
usbs.offset = emu_info.sector + 0x4000;
u8 *gpt = malloc(512);
u8 *gpt = malloc(SD_BLOCKSIZE);
if (sdmmc_storage_read(&sd_storage, usbs.offset + 1, 1, gpt))
{
if (!memcmp(gpt, "EFI PART", 8))