summaryrefslogtreecommitdiffstats
path: root/src/emu/emuopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emuopts.cpp')
-rw-r--r--src/emu/emuopts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index 25c30abf1e4..aa1b0482edc 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -241,7 +241,7 @@ bool emu_options::add_slot_options(bool isfirstpass)
first = false;
// retrieve info about the device instance
- const char *name = slot->device().tag().c_str() + 1;
+ const char *name = slot->device().tag() + 1;
if (!exists(name))
{
// add the option
@@ -278,7 +278,7 @@ void emu_options::update_slot_options()
for (device_slot_interface *slot = iter.first(); slot != nullptr; slot = iter.next())
{
// retrieve info about the device instance
- const char *name = slot->device().tag().c_str() + 1;
+ const char *name = slot->device().tag() + 1;
if (exists(name) && slot->first_option() != nullptr)
{
std::string defvalue = slot->get_default_card_software();