mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-24 12:14:11 +00:00
nyx: Do not show SFD partitions as valid for emuMMC
This commit is contained in:
parent
3d00a1be21
commit
43f3132069
@ -236,7 +236,9 @@ static void _create_mbox_emummc_raw()
|
||||
u32 part_size = mbr->partitions[i].size_sct;
|
||||
u32 part_start = mbr->partitions[i].start_sct;
|
||||
u8 part_type = mbr->partitions[i].type;
|
||||
bool valid_part = (part_type != 0x83) && (part_type != 0xEE); // Skip Linux and GPT (Android) partitions.
|
||||
|
||||
// Skip Linux, GPT (Android) and SFD partitions.
|
||||
bool valid_part = (part_type != 0x83) && (part_type != 0xEE) && (part_type != 0xFF);
|
||||
|
||||
if ((part_size >= emmc_size_safe) && part_start > 0x8000 && valid_part)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user