Merge pull request #3787 from lemondrops/master

Fix speeds other than RAM disk not being selectable for SCSI or ATAPI HDDs
This commit is contained in:
Miran Grča
2023-10-30 15:45:53 +01:00
committed by GitHub

View File

@@ -75,8 +75,10 @@ Harddrives::populateSpeeds(QAbstractItemModel *model, int bus)
int num_preset;
switch (bus) {
case HDD_BUS_IDE:
case HDD_BUS_ESDI:
case HDD_BUS_IDE:
case HDD_BUS_ATAPI:
case HDD_BUS_SCSI:
num_preset = hdd_preset_get_num();
break;