diff options
Diffstat (limited to 'src/devices/bus/mz80/mz80_exp.h')
| -rw-r--r-- | src/devices/bus/mz80/mz80_exp.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/mz80/mz80_exp.h b/src/devices/bus/mz80/mz80_exp.h index 3cfda5bb866..c1ab6da122b 100644 --- a/src/devices/bus/mz80/mz80_exp.h +++ b/src/devices/bus/mz80/mz80_exp.h @@ -18,10 +18,7 @@ public: mz80_exp_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt) : mz80_exp_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); } mz80_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); virtual ~mz80_exp_slot_device(); @@ -74,7 +71,7 @@ protected: }; -// device type definition +// device type declaration DECLARE_DEVICE_TYPE(MZ80_EXP_SLOT, mz80_exp_slot_device) void mz800_exp_devices(device_slot_interface &device); |
