summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpc-rtc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpc-rtc.cpp')
-rw-r--r--src/devices/machine/lpc-rtc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/lpc-rtc.cpp b/src/devices/machine/lpc-rtc.cpp
index 455ab99d2fb..60a8e61c0ce 100644
--- a/src/devices/machine/lpc-rtc.cpp
+++ b/src/devices/machine/lpc-rtc.cpp
@@ -14,7 +14,7 @@ DEVICE_ADDRESS_MAP_START(extmap, 32, lpc_rtc_device)
AM_RANGE(0x70, 0x77) AM_READWRITE8(exttarget_r, exttarget_w, 0xff000000)
ADDRESS_MAP_END
-lpc_rtc_device::lpc_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+lpc_rtc_device::lpc_rtc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__), cur_index(0), cur_extindex(0)
{
}
@@ -58,7 +58,7 @@ READ8_MEMBER( lpc_rtc_device::target_r)
WRITE8_MEMBER( lpc_rtc_device::target_w)
{
ram[cur_index] = data;
- logerror("%s: ram[%02x] = %02x\n", tag(), cur_index, data);
+ logerror("%s: ram[%02x] = %02x\n", tag().c_str(), cur_index, data);
}
READ8_MEMBER( lpc_rtc_device::extindex_r)
@@ -79,5 +79,5 @@ READ8_MEMBER( lpc_rtc_device::exttarget_r)
WRITE8_MEMBER( lpc_rtc_device::exttarget_w)
{
ram[cur_extindex|128] = data;
- logerror("%s: ram[%02x] = %02x\n", tag(), cur_extindex|128, data);
+ logerror("%s: ram[%02x] = %02x\n", tag().c_str(), cur_extindex|128, data);
}