mirror of https://github.com/ventoy/Ventoy.git
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;
|
||||
}
|
||||
|
||||
if (MBR.PartTbl[1].FsFlag == 0xEE)
|
||||
if (MBR.PartTbl[0].FsFlag == 0xEE)
|
||||
{
|
||||
pGpt = malloc(sizeof(VTOY_GPT_INFO));
|
||||
if (!pGpt)
|
||||
|
|
Loading…
Reference in New Issue