diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-06-19 17:08:55 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-06-19 17:08:55 -0400 |
commit | 540e3b82599794cf1da11369dafb3af02839ab1e (patch) | |
tree | c5f138611881ec02df41ba734f1a6774eb2da604 | |
parent | 59016b0ccd570eb1df369a1c61de31dbd9d5ea89 (diff) |
One last device type to fix (nw)
-rw-r--r-- | src/devices/cpu/pdp8/pdp8.cpp | 4 | ||||
-rw-r--r-- | 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<pdp8_device>; +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 |