mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
nyx: Do not show SFD partitions as valid for emuMMC
This commit is contained in:
parent
3d00a1be21
commit
43f3132069
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue