[misc] UFD vs HDD detection improvements

This commit is contained in:
Pete Batard 2021-04-23 12:03:43 +01:00
parent 252759eb91
commit 16c0e8e2a2
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 11 additions and 11 deletions

View file

@ -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;