Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
be5bc6f3
Commit
be5bc6f3
authored
Oct 22, 2021
by
longpanda
Browse files
Optimization for Ventoy2Disk.exe
parent
f3b65452
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
INSTALL/Ventoy2Disk.exe
INSTALL/Ventoy2Disk.exe
+0
-0
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
+3
-0
No files found.
INSTALL/Ventoy2Disk.exe
View file @
be5bc6f3
No preview for this file type
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
View file @
be5bc6f3
...
...
@@ -2289,6 +2289,8 @@ End:
VDS_ChangeVtoyEFI2Basic
(
pPhyDrive
->
PhyDrive
,
StartSector
*
512
);
}
if
(
pPhyDrive
->
PartStyle
==
1
)
{
if
(
ChangeAttr
||
((
pPhyDrive
->
Part2GPTAttr
>>
56
)
!=
0xC0
))
{
Log
(
"Change EFI partition attr %u <0x%llx> to <0x%llx>"
,
ChangeAttr
,
pPhyDrive
->
Part2GPTAttr
,
0xC000000000000001ULL
);
...
...
@@ -2302,6 +2304,7 @@ End:
Log
(
"Change EFI partition attr failed"
);
}
}
}
if
(
pGptInfo
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment