mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-16 07:26:22 +00:00
Merge pull request #4 from Islam-Darwish/patch-3
fix win 11 error 0x80070001
This commit is contained in:
commit
0bf96a85aa
@ -982,7 +982,7 @@ int VentoyFillGpt(UINT64 DiskSizeBytes, VTOY_GPT_INFO *pInfo)
|
||||
CoCreateGuid(&(Table[1].PartGuid));
|
||||
Table[1].StartLBA = Table[0].LastLBA + 1;
|
||||
Table[1].LastLBA = Table[1].StartLBA + VENTOY_EFI_PART_SIZE / 512 - 1;
|
||||
Table[1].Attr = 0xC000000000000001ULL;
|
||||
Table[1].Attr = 0x9000000000000000ULL;
|
||||
memcpy(Table[1].Name, L"VTOYEFI", 7 * 2);
|
||||
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user