summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lc8670
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-07-13 12:53:45 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-07-13 12:58:47 -0400
commite906f29a386011790278ad7fc273a724d2d36420 (patch)
tree296f3f8d1c0e64d8a1e81523e5d7447d5fe9aed7 /src/devices/cpu/lc8670
parent4f2b200d8412ebc5767675c39380a3ac1b0acfd3 (diff)
Make machine().describe_context() a const function returning a std::string (nw)
As part of this change (because std::string is not printf-compatible), several devices have been updated to use the modern logmacro.h logging system.
Diffstat (limited to 'src/devices/cpu/lc8670')
-rw-r--r--src/devices/cpu/lc8670/lc8670.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/lc8670/lc8670.cpp b/src/devices/cpu/lc8670/lc8670.cpp
index 0e851db758c..c78a0acd4c8 100644
--- a/src/devices/cpu/lc8670/lc8670.cpp
+++ b/src/devices/cpu/lc8670/lc8670.cpp
@@ -1006,7 +1006,7 @@ WRITE8_MEMBER(lc8670_cpu_device::regs_w)
break;
case 0x07:
if (data & HOLD_MODE)
- fatalerror("%s: unemulated HOLD mode\n", machine().describe_context());
+ fatalerror("%s: unemulated HOLD mode\n", machine().describe_context().c_str());
break;
case 0x10:
if (!(data & 0x80))
@@ -1144,7 +1144,7 @@ inline uint16_t lc8670_cpu_device::get_addr()
else if (mode > 0x03 && mode <= 0x07)
addr = read_data(GET_RI | ((REG_PSW>>1) & 0x0c)) | ((GET_RI & 0x02) ? 0x100 : 0x00);
else
- fatalerror("%s: invalid get_addr in mode %x\n", machine().describe_context(), mode);
+ fatalerror("%s: invalid get_addr in mode %x\n", machine().describe_context().c_str(), mode);
return addr;
}