summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_pcm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_pcm2.h')
-rw-r--r--src/devices/bus/neogeo/prot_pcm2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/bus/neogeo/prot_pcm2.h b/src/devices/bus/neogeo/prot_pcm2.h
index 707e9ab94b4..666b38b4bee 100644
--- a/src/devices/bus/neogeo/prot_pcm2.h
+++ b/src/devices/bus/neogeo/prot_pcm2.h
@@ -9,12 +9,15 @@
DECLARE_DEVICE_TYPE(NG_PCM2_PROT, pcm2_prot_device)
+#define MCFG_PCM2_PROT_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, NG_PCM2_PROT, 0)
+
class pcm2_prot_device : public device_t
{
public:
// construction/destruction
- pcm2_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+ pcm2_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
void decrypt(uint8_t* ymrom, uint32_t ymsize, int value);
void swap(uint8_t* ymrom, uint32_t ymsize, int value);