From 540e3b82599794cf1da11369dafb3af02839ab1e Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 19 Jun 2017 17:08:55 -0400 Subject: [PATCH] One last device type to fix (nw) --- src/devices/cpu/pdp8/pdp8.cpp | 4 ++-- src/devices/cpu/pdp8/pdp8.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/devices/cpu/pdp8/pdp8.cpp b/src/devices/cpu/pdp8/pdp8.cpp index 8443a699ff8..52141e9d1ac 100644 --- a/src/devices/cpu/pdp8/pdp8.cpp +++ b/src/devices/cpu/pdp8/pdp8.cpp @@ -44,14 +44,14 @@ CPU_DISASSEMBLE( pdp8 ); #define OPR_GROUP1_VAL 0000 #define OPR_GROUP2_VAL 0400 -const device_type PDP8CPU = device_creator; +DEFINE_DEVICE_TYPE(PDP8, pdp8_device, "pdp8_cpu", "PDP8") //------------------------------------------------- // pdp8_device - constructor //------------------------------------------------- pdp8_device::pdp8_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : cpu_device(mconfig, PDP8CPU, "PDP8CPU", tag, owner, clock, "pdp8_cpu", __FILE__), + : cpu_device(mconfig, PDP8, tag, owner, clock), m_program_config("program", ENDIANNESS_BIG, 12, 12), m_pc(0), m_ac(0), diff --git a/src/devices/cpu/pdp8/pdp8.h b/src/devices/cpu/pdp8/pdp8.h index 416ecb4a2a0..2184d965099 100644 --- a/src/devices/cpu/pdp8/pdp8.h +++ b/src/devices/cpu/pdp8/pdp8.h @@ -90,7 +90,7 @@ private: }; // device type definition -extern const device_type PDP8CPU; +DECLARE_DEVICE_TYPE(PDP8, pdp8_device) /*************************************************************************** REGISTER ENUMERATION