summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r--src/emu/ui/ui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp
index 989905ba550..0048936ea20 100644
--- a/src/emu/ui/ui.cpp
+++ b/src/emu/ui/ui.cpp
@@ -1879,7 +1879,7 @@ static slider_state *slider_init(running_machine &machine)
for (device_execute_interface *exec = iter.first(); exec != nullptr; exec = iter.next())
{
void *param = (void *)&exec->device();
- strprintf(str, "Overclock CPU %s", exec->device().tag().c_str());
+ strprintf(str, "Overclock CPU %s", exec->device().tag());
*tailptr = slider_alloc(machine, str.c_str(), 10, 1000, 2000, 1, slider_overclock, param);
tailptr = &(*tailptr)->next;
}
@@ -1942,16 +1942,16 @@ static slider_state *slider_init(running_machine &machine)
void *param = (void *)laserdisc;
// add scale and offset controls per-overlay
- strprintf(str,"Laserdisc '%s' Horiz Stretch", laserdisc->tag().c_str());
+ strprintf(str,"Laserdisc '%s' Horiz Stretch", laserdisc->tag());
*tailptr = slider_alloc(machine, str.c_str(), 500, (defxscale == 0) ? 1000 : defxscale, 1500, 2, slider_overxscale, param);
tailptr = &(*tailptr)->next;
- strprintf(str,"Laserdisc '%s' Horiz Position", laserdisc->tag().c_str());
+ strprintf(str,"Laserdisc '%s' Horiz Position", laserdisc->tag());
*tailptr = slider_alloc(machine, str.c_str(), -500, defxoffset, 500, 2, slider_overxoffset, param);
tailptr = &(*tailptr)->next;
- strprintf(str,"Laserdisc '%s' Vert Stretch", laserdisc->tag().c_str());
+ strprintf(str,"Laserdisc '%s' Vert Stretch", laserdisc->tag());
*tailptr = slider_alloc(machine, str.c_str(), 500, (defyscale == 0) ? 1000 : defyscale, 1500, 2, slider_overyscale, param);
tailptr = &(*tailptr)->next;
- strprintf(str,"Laserdisc '%s' Vert Position", laserdisc->tag().c_str());
+ strprintf(str,"Laserdisc '%s' Vert Position", laserdisc->tag());
*tailptr = slider_alloc(machine, str.c_str(), -500, defyoffset, 500, 2, slider_overyoffset, param);
tailptr = &(*tailptr)->next;
}
@@ -2406,7 +2406,7 @@ static char *slider_get_screen_desc(screen_device &screen)
static char descbuf[256];
if (scrcount > 1)
- sprintf(descbuf, "Screen '%s'", screen.tag().c_str());
+ sprintf(descbuf, "Screen '%s'", screen.tag());
else
strcpy(descbuf, "Screen");