summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cgenie/parallel/parallel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cgenie/parallel/parallel.h')
-rw-r--r--src/devices/bus/cgenie/parallel/parallel.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/devices/bus/cgenie/parallel/parallel.h b/src/devices/bus/cgenie/parallel/parallel.h
index 9cf135ff068..893cc5aa348 100644
--- a/src/devices/bus/cgenie/parallel/parallel.h
+++ b/src/devices/bus/cgenie/parallel/parallel.h
@@ -40,10 +40,7 @@ public:
cg_parallel_slot_device(machine_config const &mconfig, char const *tag, device_t *owner)
: cg_parallel_slot_device(mconfig, tag, owner, (uint32_t)0)
{
- option_reset();
- cg_parallel_slot_carts(*this);
- set_default_option(nullptr);
- set_fixed(false);
+ set_options(cg_parallel_slot_carts, nullptr, false);
}
cg_parallel_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual ~cg_parallel_slot_device();
@@ -57,7 +54,7 @@ public:
void pb_w(uint8_t data);
protected:
- // device-level overrides
+ // device_t implementation
virtual void device_start() override ATTR_COLD;
device_cg_parallel_interface *m_cart;
@@ -82,7 +79,7 @@ protected:
cg_parallel_slot_device *m_slot;
};
-// device type definition
+// device type declaration
DECLARE_DEVICE_TYPE(CG_PARALLEL_SLOT, cg_parallel_slot_device)
#endif // MAME_BUS_CGENIE_PARALLEL_PARALLEL_H