mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 18:35:26 -04:00
[efi] fix incorrect offset for UEFI:TOGO partition
* Also remove the use of hardcoded value for the size of the UEFI:TOGO partition and fix a WDK warning.
This commit is contained in:
parent
a4e12f5c12
commit
3f0e71f3ba
3 changed files with 23 additions and 18 deletions
|
@ -1552,7 +1552,8 @@ DWORD WINAPI FormatThread(void* param)
|
|||
// Wait for the logical drive we just created to appear
|
||||
uprintf("Waiting for logical drive to reappear...\n");
|
||||
Sleep(200);
|
||||
WaitForLogical(DriveIndex); // We try to continue even if this fails, just in case
|
||||
if (!WaitForLogical(DriveIndex))
|
||||
uprintf("Logical drive was not found!"); // We try to continue even if this fails, just in case
|
||||
CHECK_FOR_USER_CANCEL;
|
||||
|
||||
// If FAT32 is requested and we have a large drive (>32 GB) use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue