summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/z80ctc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/z80ctc.cpp')
-rw-r--r--src/devices/machine/z80ctc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/z80ctc.cpp b/src/devices/machine/z80ctc.cpp
index 302572e9a90..cab0738e22c 100644
--- a/src/devices/machine/z80ctc.cpp
+++ b/src/devices/machine/z80ctc.cpp
@@ -72,14 +72,14 @@ const int WAITING_FOR_TRIG = 0x100;
//**************************************************************************
// device type definition
-const device_type Z80CTC = device_creator<z80ctc_device>;
+DEFINE_DEVICE_TYPE(Z80CTC, z80ctc_device, "z80ctc", "Z80 CTC")
//-------------------------------------------------
// z80ctc_device - constructor
//-------------------------------------------------
z80ctc_device::z80ctc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, Z80CTC, "Z80 CTC", tag, owner, clock, "z80ctc", __FILE__),
+ : device_t(mconfig, Z80CTC, tag, owner, clock),
device_z80daisy_interface(mconfig, *this),
m_intr_cb(*this),
m_zc0_cb(*this),