mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-01 10:13:47 -04:00
add GPT support
This commit is contained in:
parent
9ecbff9ce6
commit
49ca1e05a4
@ -107,7 +107,7 @@ static BOOL IsVentoyPhyDrive(int PhyDrive, UINT64 SizeBytes, MBR_HEAD *pMBR, UIN
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MBR.PartTbl[1].FsFlag == 0xEE)
|
if (MBR.PartTbl[0].FsFlag == 0xEE)
|
||||||
{
|
{
|
||||||
pGpt = malloc(sizeof(VTOY_GPT_INFO));
|
pGpt = malloc(sizeof(VTOY_GPT_INFO));
|
||||||
if (!pGpt)
|
if (!pGpt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user