diff options
Diffstat (limited to 'src/devices/bus/apricot/expansion/expansion.h')
| -rw-r--r-- | src/devices/bus/apricot/expansion/expansion.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/bus/apricot/expansion/expansion.h b/src/devices/bus/apricot/expansion/expansion.h index 933f7d903f6..c42e4d9a102 100644 --- a/src/devices/bus/apricot/expansion/expansion.h +++ b/src/devices/bus/apricot/expansion/expansion.h @@ -68,10 +68,7 @@ public: apricot_expansion_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt) : apricot_expansion_slot_device(mconfig, tag, owner, (uint32_t)0) { - option_reset(); - opts(*this); - set_default_option(dflt); - set_fixed(false); + set_options(std::forward<T>(opts), dflt, false); } apricot_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); @@ -82,7 +79,7 @@ protected: virtual void device_start() override ATTR_COLD; }; -// device type definition +// device type declaration DECLARE_DEVICE_TYPE(APRICOT_EXPANSION_SLOT, apricot_expansion_slot_device) @@ -151,7 +148,7 @@ private: devcb_write_line m_int3_handler; }; -// device type definition +// device type declaration DECLARE_DEVICE_TYPE(APRICOT_EXPANSION_BUS, apricot_expansion_bus_device) |
