diff options
Diffstat (limited to 'src/devices/bus/tvc/tvc.h')
| -rw-r--r-- | src/devices/bus/tvc/tvc.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/bus/tvc/tvc.h b/src/devices/bus/tvc/tvc.h index 840cb9ef717..0ca1ba8cfe9 100644 --- a/src/devices/bus/tvc/tvc.h +++ b/src/devices/bus/tvc/tvc.h @@ -94,10 +94,7 @@ public: tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, T &&opts, const char *dflt) : tvcexp_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); } tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); @@ -116,7 +113,7 @@ public: void io_write(offs_t offset, uint8_t data); protected: - // device-level overrides + // device_t implementation virtual void device_start() override ATTR_COLD; devcb_write_line m_out_irq_cb; @@ -125,7 +122,7 @@ protected: device_tvcexp_interface* m_cart; }; -// device type definition +// device type declaration DECLARE_DEVICE_TYPE(TVCEXP_SLOT, tvcexp_slot_device) |
