summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_cthd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_cthd.h')
-rw-r--r--src/devices/bus/neogeo/prot_cthd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/bus/neogeo/prot_cthd.h b/src/devices/bus/neogeo/prot_cthd.h
index 95ae38289b3..455674a56c8 100644
--- a/src/devices/bus/neogeo/prot_cthd.h
+++ b/src/devices/bus/neogeo/prot_cthd.h
@@ -8,11 +8,15 @@
DECLARE_DEVICE_TYPE(NG_CTHD_PROT, cthd_prot_device)
+#define MCFG_CTHD_PROT_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, NG_CTHD_PROT, 0)
+
+
class cthd_prot_device : public device_t
{
public:
// construction/destruction
- cthd_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
+ cthd_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
void fix_do(uint8_t* sprrom, uint32_t sprrom_size, int start, int end, int bit3shift, int bit2shift, int bit1shift, int bit0shift);
void gfx_address_fix(uint8_t* sprrom, uint32_t sprrom_size, int start, int end);