Skip to content

Commit

Permalink
add GPT support
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Jul 4, 2020
1 parent 9ecbff9 commit 49ca1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ventoy2Disk/Ventoy2Disk/Ventoy2Disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 49ca1e0

Please sign in to comment.