summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/chanf/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/chanf/slot.h')
-rw-r--r--src/devices/bus/chanf/slot.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/bus/chanf/slot.h b/src/devices/bus/chanf/slot.h
index 01235a7595b..0e2edaf4eb3 100644
--- a/src/devices/bus/chanf/slot.h
+++ b/src/devices/bus/chanf/slot.h
@@ -68,10 +68,7 @@ public:
channelf_cart_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
: channelf_cart_slot_device(mconfig, tag, owner, 0)
{
- option_reset();
- opts(*this);
- set_default_option(dflt);
- set_fixed(false);
+ set_options(std::forward<T>(opts), dflt, false);
}
channelf_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);