summaryrefslogtreecommitdiffstats
path: root/src/emu/devdelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/devdelegate.cpp')
-rw-r--r--src/emu/devdelegate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/devdelegate.cpp b/src/emu/devdelegate.cpp
index 8917d5dfc3f..f9cbb187e8f 100644
--- a/src/emu/devdelegate.cpp
+++ b/src/emu/devdelegate.cpp
@@ -21,7 +21,7 @@ delegate_late_bind &device_delegate_helper::bound_object(device_t &search_root)
{
device_t *device = search_root.subdevice(m_device_name);
if (device == nullptr)
- throw emu_fatalerror("Unable to locate device '%s' relative to '%s'\n", m_device_name, search_root.tag());
+ throw emu_fatalerror("Unable to locate device '%s' relative to '%s'\n", m_device_name.c_str(), search_root.tag().c_str());
return *device;
}
@@ -31,7 +31,7 @@ delegate_late_bind &device_delegate_helper::bound_object(device_t &search_root)
// the object is not valid
//-------------------------------------------------
-const char *device_delegate_helper::safe_tag(device_t *object)
+std::string device_delegate_helper::safe_tag(device_t *object)
{
return (object != nullptr) ? object->tag() : "(unknown)";
}