summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r--src/emu/machine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp
index 22254278ef7..a80a9c1aa74 100644
--- a/src/emu/machine.cpp
+++ b/src/emu/machine.cpp
@@ -186,7 +186,7 @@ const char *running_machine::describe_context()
{
cpu_device *cpu = dynamic_cast<cpu_device *>(&executing->device());
if (cpu != nullptr)
- strprintf(m_context, "'%s' (%s)", cpu->tag().c_str(), core_i64_format(cpu->pc(), cpu->space(AS_PROGRAM).logaddrchars(), cpu->is_octal()));
+ strprintf(m_context, "'%s' (%s)", cpu->tag(), core_i64_format(cpu->pc(), cpu->space(AS_PROGRAM).logaddrchars(), cpu->is_octal()));
}
else
m_context.assign("(no context)");
@@ -412,7 +412,7 @@ int running_machine::run(bool firstrun)
}
catch (add_exception &aex)
{
- osd_printf_error("Tag '%s' already exists in tagged_list\n", aex.tag().c_str());
+ osd_printf_error("Tag '%s' already exists in tagged_list\n", aex.tag());
error = MAMERR_FATALERROR;
}
catch (std::exception &ex)
@@ -1092,7 +1092,7 @@ void running_machine::start_all_devices()
device->set_machine(*this);
// now start the device
- osd_printf_verbose("Starting %s '%s'\n", device->name(), device->tag().c_str());
+ osd_printf_verbose("Starting %s '%s'\n", device->name(), device->tag());
device->start();
}