mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 16:53:54 -04:00
[misc] UFD vs HDD detection improvements
This commit is contained in:
parent
252759eb91
commit
16c0e8e2a2
5 changed files with 11 additions and 11 deletions
|
@ -451,7 +451,7 @@ int IsHDD(DWORD DriveIndex, uint16_t vid, uint16_t pid, const char* strid)
|
|||
|
||||
// Adjust the score depending on the size
|
||||
drive_size = GetDriveSize(DriveIndex);
|
||||
if (drive_size > 400 * GB)
|
||||
if (drive_size > 800 * GB)
|
||||
score += 10;
|
||||
else if (drive_size < 32 * GB)
|
||||
score -= 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue