summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/scsi/scsicd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/scsi/scsicd.cpp')
-rw-r--r--src/devices/bus/scsi/scsicd.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/devices/bus/scsi/scsicd.cpp b/src/devices/bus/scsi/scsicd.cpp
index 0f577ea44d3..2833917984f 100644
--- a/src/devices/bus/scsi/scsicd.cpp
+++ b/src/devices/bus/scsi/scsicd.cpp
@@ -30,8 +30,20 @@ void scsicd_device::device_start()
scsihle_device::device_start();
}
+void scsicd_device::device_reset()
+{
+ scsihle_device::device_reset();
+}
+
void scsicd_device::device_add_mconfig(machine_config &config)
{
CDROM(config, "image").set_interface("cdrom");
- CDDA(config, "cdda");
+ CDDA(config, "cdda").set_cdrom_tag("image");
}
+
+bool scsicd_device::exists() const
+{
+ // cd drive is visible even if there's no cd in it
+ return true;
+}
+