diff options
Diffstat (limited to 'src/devices/cpu/sh2/sh7604_wdt.cpp')
-rw-r--r-- | src/devices/cpu/sh2/sh7604_wdt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/sh2/sh7604_wdt.cpp b/src/devices/cpu/sh2/sh7604_wdt.cpp index a396e2872f3..9db87131378 100644 --- a/src/devices/cpu/sh2/sh7604_wdt.cpp +++ b/src/devices/cpu/sh2/sh7604_wdt.cpp @@ -20,7 +20,7 @@ //************************************************************************** // device type definition -const device_type SH7604_WDT = device_creator<sh7604_wdt_device>; +DEFINE_DEVICE_TYPE(SH7604_WDT, sh7604_wdt_device, "sh7604wdt", "SH7604 Watchdog Timer") //************************************************************************** @@ -39,9 +39,9 @@ ADDRESS_MAP_END //------------------------------------------------- sh7604_wdt_device::sh7604_wdt_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, SH7604_WDT, "sh7604_wdt_longname", tag, owner, clock, "sh7604_wdt", __FILE__), - device_memory_interface(mconfig, *this), - m_space_config("regs", ENDIANNESS_BIG, 8, 4, 0, nullptr, *ADDRESS_MAP_NAME(wdt_regs)) + : device_t(mconfig, SH7604_WDT, tag, owner, clock) + , device_memory_interface(mconfig, *this) + , m_space_config("regs", ENDIANNESS_BIG, 8, 4, 0, nullptr, *ADDRESS_MAP_NAME(wdt_regs)) { } |