summaryrefslogtreecommitdiffstats
path: root/src/emu/profiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/profiler.cpp')
-rw-r--r--src/emu/profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/profiler.cpp b/src/emu/profiler.cpp
index f48c3cb9627..102f0358e09 100644
--- a/src/emu/profiler.cpp
+++ b/src/emu/profiler.cpp
@@ -210,7 +210,7 @@ void real_profiler_state::update_text(running_machine &machine)
// and then the text
if (curtype >= PROFILER_DEVICE_FIRST && curtype <= PROFILER_DEVICE_MAX)
- strcatprintf(m_text, "'%s'", iter.byindex(curtype - PROFILER_DEVICE_FIRST)->tag().c_str());
+ strcatprintf(m_text, "'%s'", iter.byindex(curtype - PROFILER_DEVICE_FIRST)->tag());
else
for (auto & name : names)
if (name.type == curtype)