summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_cthd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/prot_cthd.cpp')
-rw-r--r--src/devices/bus/neogeo/prot_cthd.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/neogeo/prot_cthd.cpp b/src/devices/bus/neogeo/prot_cthd.cpp
index 226ae50d40b..bb8e9d9ac3f 100644
--- a/src/devices/bus/neogeo/prot_cthd.cpp
+++ b/src/devices/bus/neogeo/prot_cthd.cpp
@@ -4,12 +4,13 @@
#include "emu.h"
#include "prot_cthd.h"
-const device_type CTHD_PROT = device_creator<cthd_prot_device>;
+DEFINE_DEVICE_TYPE(NG_CTHD_PROT, cthd_prot_device, "ng_cthd_prot", "Neo Goe CTHD Protection (bootleg)")
cthd_prot_device::cthd_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, CTHD_PROT, "Neo Geo CTHD Protection (Bootleg)", tag, owner, clock, "cthd_prot", __FILE__)
-{}
+ device_t(mconfig, NG_CTHD_PROT, tag, owner, clock)
+{
+}
void cthd_prot_device::device_start()