Settings Storage Devices: No longer cut off the second SCSI controller.

This commit is contained in:
OBattler
2025-04-03 06:17:27 +02:00
parent 3f677e1b04
commit cfc8e0dc4e

View File

@@ -195,7 +195,6 @@ SettingsStorageControllers::onCurrentMachineChanged(int machineId)
if (scsi_card_available(c)) {
if (device_is_valid(scsi_card_getdevice(c), machineId)) {
for (uint8_t i = 0; i < SCSI_CARD_MAX; ++i) {
if ((c != 1) || ((i == 0) && m_has_scsi)) {
int row = Models::AddEntry(models[i], name, c);
if (c == scsi_card_current[i])
@@ -203,7 +202,6 @@ SettingsStorageControllers::onCurrentMachineChanged(int machineId)
}
}
}
}
c++;
}