mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-12 22:26:04 -04:00
Fix the issue introduced in LinuxGUI version. (#3128)
This commit is contained in:
parent
6166a813ea
commit
9a8dc42d93
22 changed files with 41 additions and 29 deletions
|
@ -807,6 +807,8 @@ static void * ventoy_update_thread(void *data)
|
|||
pstGPT->PartTbl[1].Attr, 0x8000000000000000ULL);
|
||||
|
||||
pstGPT->PartTbl[1].Attr = 0x8000000000000000ULL;
|
||||
|
||||
pstGPT->Head.PartTblCrc = ventoy_crc32(pstGPT->PartTbl, sizeof(pstGPT->PartTbl));
|
||||
pstGPT->Head.Crc = 0;
|
||||
pstGPT->Head.Crc = ventoy_crc32(&(pstGPT->Head), pstGPT->Head.Length);
|
||||
ventoy_write_gpt_part_table(fd, disk->size_in_byte, pstGPT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue