|
|
@@ -1937,13 +1937,13 @@ void scsiDiskPoll()
|
|
|
checkDiskGeometryDivisible(img);
|
|
|
}
|
|
|
|
|
|
- // Check for Inquiry command to reinsert CD-ROMs on boot
|
|
|
+ // Check for Inquiry command to close CD-ROM tray on boot
|
|
|
if (command == 0x12)
|
|
|
{
|
|
|
image_config_t &img = *(image_config_t*)scsiDev.target->cfg;
|
|
|
if (img.deviceType == S2S_CFG_OPTICAL && img.reinsert_on_inquiry)
|
|
|
{
|
|
|
- cdromReinsertFirstImage(img);
|
|
|
+ cdromCloseTray(img);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1965,7 +1965,7 @@ void scsiDiskReset()
|
|
|
g_scsi_prefetch.sector = 0;
|
|
|
#endif
|
|
|
|
|
|
- // Reinsert any ejected CD-ROMs
|
|
|
+ // Reinsert any ejected CD-ROMs on BUS RESET and restart from first image
|
|
|
for (int i = 0; i < S2S_MAX_TARGETS; ++i)
|
|
|
{
|
|
|
image_config_t &img = g_DiskImages[i];
|