summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/wpc_pic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/wpc_pic.cpp')
-rw-r--r--src/mame/machine/wpc_pic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/wpc_pic.cpp b/src/mame/machine/wpc_pic.cpp
index 64ec9fbafb5..a5a25b70bb9 100644
--- a/src/mame/machine/wpc_pic.cpp
+++ b/src/mame/machine/wpc_pic.cpp
@@ -4,10 +4,10 @@
#include "emu.h"
#include "wpc_pic.h"
-const device_type WPC_PIC = device_creator<wpc_pic_device>;
+DEFINE_DEVICE_TYPE(WPC_PIC, wpc_pic_device, "wpc_pic", "Williams Pinball Controller PIC Security")
wpc_pic_device::wpc_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, WPC_PIC, "Williams Pinball Controller PIC Security", tag, owner, clock, "wpc_pic", __FILE__),
+ device_t(mconfig, WPC_PIC, tag, owner, clock),
swarray(*this, ":SW.%u", 0)
{
serial = "000 000000 00000 000";