summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/wdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/wdc.cpp')
-rw-r--r--src/devices/bus/wangpc/wdc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/wangpc/wdc.cpp b/src/devices/bus/wangpc/wdc.cpp
index 4c6326c85d3..d468b76697c 100644
--- a/src/devices/bus/wangpc/wdc.cpp
+++ b/src/devices/bus/wangpc/wdc.cpp
@@ -31,7 +31,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type WANGPC_WDC = device_creator<wangpc_wdc_device>;
+DEFINE_DEVICE_TYPE(WANGPC_WDC, wangpc_wdc_device, "wangpc_wdc", "Wang PC-PM001 Winchester Disk Controller")
//-------------------------------------------------
@@ -143,7 +143,7 @@ inline void wangpc_wdc_device::set_irq(int state)
//-------------------------------------------------
wangpc_wdc_device::wangpc_wdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, WANGPC_WDC, "Wang PC-PM001", tag, owner, clock, "wangpc_wdc", __FILE__),
+ device_t(mconfig, WANGPC_WDC, tag, owner, clock),
device_wangpcbus_card_interface(mconfig, *this),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, MK3882_TAG), m_status(0), m_option(0), m_irq(0)