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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h8/h83008.cpp b/src/devices/cpu/h8/h83008.cpp
index 33b49317a89..85f0cf0e20f 100644
--- a/src/devices/cpu/h8/h83008.cpp
+++ b/src/devices/cpu/h8/h83008.cpp
@@ -5,7 +5,7 @@
const device_type H83008 = &device_creator<h83008_device>;
-h83008_device::h83008_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+h83008_device::h83008_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
h8h_device(mconfig, H83008, "H8/3008", tag, owner, clock, "h83008", __FILE__, address_map_delegate(FUNC(h83008_device::map), this)),
intc(*this, "intc"),
adc(*this, "adc"),
@@ -222,5 +222,5 @@ WRITE8_MEMBER(h83008_device::syscr_w)
{
syscr = data;
update_irq_filter();
- logerror("%s: syscr = %02x\n", tag(), data);
+ logerror("%s: syscr = %02x\n", tag().c_str(), data);
}