add GPT support

This commit is contained in:
longpanda 2020-07-04 22:39:11 +08:00
parent 9ecbff9ce6
commit 49ca1e05a4
1 changed files with 1 additions and 1 deletions

View File

@ -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)