summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h83008.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h83008.cpp')
-rw-r--r--src/devices/cpu/h8/h83008.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/h8/h83008.cpp b/src/devices/cpu/h8/h83008.cpp
index 05fd4df2482..392747d2997 100644
--- a/src/devices/cpu/h8/h83008.cpp
+++ b/src/devices/cpu/h8/h83008.cpp
@@ -3,10 +3,10 @@
#include "emu.h"
#include "h83008.h"
-const device_type H83008 = device_creator<h83008_device>;
+DEFINE_DEVICE_TYPE(H83008, h83008_device, "h83008", "H8/3008")
h83008_device::h83008_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- h8h_device(mconfig, H83008, "H8/3008", tag, owner, clock, "h83008", __FILE__, address_map_delegate(FUNC(h83008_device::map), this)),
+ h8h_device(mconfig, H83008, tag, owner, clock, address_map_delegate(FUNC(h83008_device::map), this)),
intc(*this, "intc"),
adc(*this, "adc"),
port4(*this, "port4"),
@@ -26,9 +26,9 @@ h83008_device::h83008_device(const machine_config &mconfig, const char *tag, dev
timer16_2(*this, "timer16:2"),
sci0(*this, "sci0"),
sci1(*this, "sci1"),
- watchdog(*this, "watchdog")
+ watchdog(*this, "watchdog"),
+ syscr(0)
{
- syscr = 0;
}
static MACHINE_CONFIG_FRAGMENT(h83008)