Commit 49ca1e05 authored by longpanda's avatar longpanda
Browse files

add GPT support

parent 9ecbff9c
...@@ -107,7 +107,7 @@ static BOOL IsVentoyPhyDrive(int PhyDrive, UINT64 SizeBytes, MBR_HEAD *pMBR, UIN ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment