summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ekara/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ekara/slot.h')
-rw-r--r--src/devices/bus/ekara/slot.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/ekara/slot.h b/src/devices/bus/ekara/slot.h
index 33db9fb8be4..ccd7b69685b 100644
--- a/src/devices/bus/ekara/slot.h
+++ b/src/devices/bus/ekara/slot.h
@@ -72,10 +72,7 @@ public:
ekara_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&opts, const char *dflt)
: ekara_cart_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);
}
virtual ~ekara_cart_slot_device();
@@ -121,7 +118,7 @@ protected:
device_ekara_cart_interface* m_cart;
};
-// device type definition
+// device type declaration
DECLARE_DEVICE_TYPE(EKARA_CART_SLOT, ekara_cart_slot_device)
/***************************************************************************