summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hcd62121/hcd62121.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hcd62121/hcd62121.cpp')
-rw-r--r--src/devices/cpu/hcd62121/hcd62121.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/cpu/hcd62121/hcd62121.cpp b/src/devices/cpu/hcd62121/hcd62121.cpp
index 931781c2c72..7d7ee5fa62e 100644
--- a/src/devices/cpu/hcd62121/hcd62121.cpp
+++ b/src/devices/cpu/hcd62121/hcd62121.cpp
@@ -17,9 +17,10 @@ TODO:
**********************************************************************/
#include "emu.h"
-#include "debugger.h"
#include "hcd62121.h"
+#include "debugger.h"
+
enum
{
@@ -44,11 +45,11 @@ constexpr u8 FLAG_CL = 0x01;
constexpr u8 FLAG_ZH = 0x10;
-const device_type HCD62121 = device_creator<hcd62121_cpu_device>;
+DEFINE_DEVICE_TYPE(HCD62121, hcd62121_cpu_device, "hcd62121_cpu_device", "Hitachi HCD62121")
hcd62121_cpu_device::hcd62121_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : cpu_device(mconfig, HCD62121, "Hitachi HCD62121", tag, owner, clock, "hcd62121", __FILE__)
+ : cpu_device(mconfig, HCD62121, tag, owner, clock)
, m_program_config("program", ENDIANNESS_BIG, 8, 24, 0)
, m_prev_pc(0)
, m_sp(0)