add GPT support

This commit is contained in:
longpanda 2020-07-04 22:39:11 +08:00
parent 9ecbff9ce6
commit 49ca1e05a4

View File

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