diff options
Diffstat (limited to 'src/devices/bus/apf/slot.h')
-rw-r--r-- | src/devices/bus/apf/slot.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/apf/slot.h b/src/devices/bus/apf/slot.h index 501006cc0f8..92ebbe4ad43 100644 --- a/src/devices/bus/apf/slot.h +++ b/src/devices/bus/apf/slot.h @@ -1,7 +1,7 @@ // license:BSD-3-Clause // copyright-holders:Fabio Priuli -#ifndef __APF_SLOT_H -#define __APF_SLOT_H +#ifndef MAME_BUS_APF_SLOT_H +#define MAME_BUS_APF_SLOT_H #include "softlist_dev.h" @@ -101,7 +101,7 @@ protected: // device type definition -extern const device_type APF_CART_SLOT; +DECLARE_DEVICE_TYPE(APF_CART_SLOT, apf_cart_slot_device) /*************************************************************************** @@ -113,4 +113,5 @@ extern const device_type APF_CART_SLOT; #define MCFG_APF_CARTRIDGE_ADD(_tag,_slot_intf,_def_slot) \ MCFG_DEVICE_ADD(_tag, APF_CART_SLOT, 0) \ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) -#endif + +#endif // MAME_BUS_APF_SLOT_H |