diff options
author | 2016-01-16 12:24:11 +0100 | |
---|---|---|
committer | 2016-01-16 14:54:42 +0100 | |
commit | 1f90ceab075c4869298e963bf0a14a0aac2f1caa (patch) | |
tree | 49984b30e3c6da6a0be068dbfcd02882bdafdc08 /src/emu/ui/ui.cpp | |
parent | 34161178c431b018cba0d0286951c69aee80e968 (diff) |
tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index 0048936ea20..989905ba550 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()); + strprintf(str, "Overclock CPU %s", exec->device().tag().c_str()); *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()); + strprintf(str,"Laserdisc '%s' Horiz Stretch", laserdisc->tag().c_str()); *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()); + strprintf(str,"Laserdisc '%s' Horiz Position", laserdisc->tag().c_str()); *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()); + strprintf(str,"Laserdisc '%s' Vert Stretch", laserdisc->tag().c_str()); *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()); + strprintf(str,"Laserdisc '%s' Vert Position", laserdisc->tag().c_str()); *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()); + sprintf(descbuf, "Screen '%s'", screen.tag().c_str()); else strcpy(descbuf, "Screen"); |