summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/statriv2.cpp
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/mame/drivers/statriv2.cpp
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/mame/drivers/statriv2.cpp')
-rw-r--r--src/mame/drivers/statriv2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp
index 60b71915d44..41badde8bd5 100644
--- a/src/mame/drivers/statriv2.cpp
+++ b/src/mame/drivers/statriv2.cpp
@@ -1252,12 +1252,12 @@ DRIVER_INIT_MEMBER(statriv2_state,laserdisc)
uint8_t result = 0x00;
if (offset == 1)
result = 0x18;
- osd_printf_debug("%s:ld read ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, result);
+ logerror("%s:ld read ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, result);
return result;
},"write_lambda"),
write8_delegate([this](address_space &space, offs_t offset, uint8_t data, uint8_t mem_mask)
{
- osd_printf_debug("%s:ld write ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, data);
+ logerror("%s:ld write ($%02X) = %02X\n", machine().describe_context(), 0x28 + offset, data);
},"read_lambda")
);
}