summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/plus4/exp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/plus4/exp.h')
-rw-r--r--src/devices/bus/plus4/exp.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/plus4/exp.h b/src/devices/bus/plus4/exp.h
index 951031c9796..af2dfc53622 100644
--- a/src/devices/bus/plus4/exp.h
+++ b/src/devices/bus/plus4/exp.h
@@ -60,10 +60,7 @@ public:
plus4_expansion_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock, T &&opts, char const *dflt)
: plus4_expansion_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);
}
plus4_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
@@ -137,7 +134,7 @@ protected:
};
-// device type definition
+// device type declaration
DECLARE_DEVICE_TYPE(PLUS4_EXPANSION_SLOT, plus4_expansion_slot_device)