summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-01-06 20:59:49 -0500
committer AJR <ajrhacker@users.noreply.github.com>2022-01-06 21:01:04 -0500
commit1503979345d46aea54caf388f43ddeb4027cc79e (patch)
treedbae86962102da6927e33b3f1bf2e4cc0c4292ef /src/devices/bus
parent23bbd37da65e7d9783b8fa697039fa85257fa6de (diff)
dislot: Add option_replace, option_replace_internal and option_remove to make it easier to derive option configurations
* mac.cpp et al.: Expand SCSI device selection
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/nscsi/devices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/nscsi/devices.cpp b/src/devices/bus/nscsi/devices.cpp
index 1ea66e12c7e..fad25440e3b 100644
--- a/src/devices/bus/nscsi/devices.cpp
+++ b/src/devices/bus/nscsi/devices.cpp
@@ -38,6 +38,6 @@ void default_scsi_devices(device_slot_interface &device)
void mac_scsi_devices(device_slot_interface &device)
{
- device.option_add("harddisk", NSCSI_HARDDISK);
- device.option_add("cdrom", NSCSI_CDROM_APPLE);
+ default_scsi_devices(device);
+ device.option_replace("cdrom", NSCSI_CDROM_APPLE);
}