summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/slot.h')
-rw-r--r--src/devices/bus/neogeo/slot.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/devices/bus/neogeo/slot.h b/src/devices/bus/neogeo/slot.h
index b5be4c5e901..edeb2452a1d 100644
--- a/src/devices/bus/neogeo/slot.h
+++ b/src/devices/bus/neogeo/slot.h
@@ -190,15 +190,6 @@ class neogeo_cart_slot_device : public device_t,
{
public:
// construction/destruction
- template <typename T>
- neogeo_cart_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
- : neogeo_cart_slot_device(mconfig, tag, owner, (uint16_t)0)
- {
- option_reset();
- opts(*this);
- set_default_option(dflt);
- set_fixed(false);
- }
neogeo_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint16_t clock);
virtual ~neogeo_cart_slot_device();
@@ -347,4 +338,15 @@ private:
// device type definition
DECLARE_DEVICE_TYPE(NEOGEO_CART_SLOT, neogeo_cart_slot_device)
+
+/***************************************************************************
+ DEVICE CONFIGURATION MACROS
+ ***************************************************************************/
+
+
+#define MCFG_NEOGEO_CARTRIDGE_ADD(_tag,_slot_intf,_def_slot) \
+ MCFG_DEVICE_ADD(_tag, NEOGEO_CART_SLOT, 0) \
+ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
+
+
#endif // MAME_BUS_NEOGEO_SLOT_H