summaryrefslogtreecommitdiffstats
path: root/src/emu/devdelegate.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-16 12:24:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-16 14:54:42 +0100
commit1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch)
tree49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/emu/devdelegate.cpp
parent34161178c431b018cba0d0286951c69aee80e968 (diff)
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
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)";
}