summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_misc.h')
-rw-r--r--src/devices/bus/neogeo/prot_misc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/bus/neogeo/prot_misc.h b/src/devices/bus/neogeo/prot_misc.h
index e1525fc44f6..f2b0c1f06d6 100644
--- a/src/devices/bus/neogeo/prot_misc.h
+++ b/src/devices/bus/neogeo/prot_misc.h
@@ -8,12 +8,15 @@
DECLARE_DEVICE_TYPE(NEOBOOT_PROT, neoboot_prot_device)
+#define MCFG_NEOBOOT_PROT_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, NEOBOOT_PROT, 0)
+
class neoboot_prot_device : public device_t
{
public:
// construction/destruction
- neoboot_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+ neoboot_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
void cx_decrypt(uint8_t* sprrom, uint32_t sprrom_size);
void sx_decrypt(uint8_t* fixed, uint32_t fixed_size, int value);