diff options
Diffstat (limited to 'src/mame/machine/alpha8201.cpp')
-rw-r--r-- | src/mame/machine/alpha8201.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/alpha8201.cpp b/src/mame/machine/alpha8201.cpp index 9aa3522329c..f277f989894 100644 --- a/src/mame/machine/alpha8201.cpp +++ b/src/mame/machine/alpha8201.cpp @@ -277,15 +277,15 @@ Notes: /**************************************************************************/ -const device_type ALPHA_8201 = device_creator<alpha_8201_device>; +DEFINE_DEVICE_TYPE(ALPHA_8201, alpha_8201_device, "alpha8201", "ALPHA-8201") //------------------------------------------------- // alpha_8201_device - constructor //------------------------------------------------- alpha_8201_device::alpha_8201_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) - : device_t(mconfig, ALPHA_8201, "ALPHA-8201", tag, owner, clock, "alpha8201", __FILE__), - m_mcu(*this, "mcu") + : device_t(mconfig, ALPHA_8201, tag, owner, clock) + , m_mcu(*this, "mcu") { } @@ -372,7 +372,7 @@ READ8_MEMBER(alpha_8201_device::mcu_data_r) else logerror("%s: MCU side invalid read\n", tag()); - if (offset == HMCS40_PORT_R0X) + if (offset == hmcs40_cpu_device::PORT_R0X) ret >>= 4; return ret & 0xf; } |