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
f9763a44
"csrc/includes/context_hip.h" did not exist on "734d8991c845664c5138a9f69704fd058a51b3c1"
Commit
f9763a44
authored
Jul 24, 2020
by
longpanda
Browse files
Don't delete partition when update in GPT partition style.
parent
d063dbb7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
INSTALL/Ventoy2Disk.exe
INSTALL/Ventoy2Disk.exe
+0
-0
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
+15
-13
No files found.
INSTALL/Ventoy2Disk.exe
View file @
f9763a44
No preview for this file type
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
View file @
f9763a44
...
...
@@ -1851,6 +1851,8 @@ int UpdateVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive)
if
(
!
TryWritePart2
(
hDrive
,
StartSector
))
{
if
(
pPhyDrive
->
PartStyle
==
0
)
{
ForceMBR
=
TRUE
;
Log
(
"Try write failed, now delete partition 2..."
);
...
...
@@ -1868,7 +1870,7 @@ int UpdateVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive)
goto
End
;
}
}
}
PROGRESS_BAR_SET_POS
(
PT_FORMAT_PART2
);
...
...
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