summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spectrum/dma/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spectrum/dma/slot.h')
-rw-r--r--src/devices/bus/spectrum/dma/slot.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/bus/spectrum/dma/slot.h b/src/devices/bus/spectrum/dma/slot.h
index f517265d672..3f6f8624be1 100644
--- a/src/devices/bus/spectrum/dma/slot.h
+++ b/src/devices/bus/spectrum/dma/slot.h
@@ -23,10 +23,7 @@ public:
dma_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock, T &&opts, const char *dflt)
: dma_slot_device(mconfig, tag, owner, clock)
{
- option_reset();
- opts(*this);
- set_default_option(dflt);
- set_fixed(false);
+ set_options(std::forward<T>(opts), dflt, false);
}
virtual ~dma_slot_device();