Kaynağa Gözat

Merge pull request #373 from ZuluSCSI/fix/imgx-ignoring-device-type

Fix IMGx=filename ignoring device type
Alex Perez 1 yıl önce
ebeveyn
işleme
44bff678e5
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      src/ZuluSCSI_disk.cpp

+ 1 - 0
src/ZuluSCSI_disk.cpp

@@ -704,6 +704,7 @@ int scsiDiskGetNextImageName(image_config_t &img, char *buf, size_t buflen)
         int ret = ini_gets(section, key, "", buf, buflen, CONFIGFILE);
         if (buf[0] != '\0')
         {
+            img.deviceType = g_scsi_settings.getDevice(target_idx)->deviceType;
             return ret;
         }
         else if (img.image_index > 0)