diff options
| author | 2016-01-20 21:42:13 +0100 | |
|---|---|---|
| committer | 2016-01-20 21:42:13 +0100 | |
| commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
| tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/emu/machine.cpp | |
| parent | 3a8ccb89b426509be06089a19c51ecf55567ed1b (diff) | |
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa
* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/emu/machine.cpp')
| -rw-r--r-- | src/emu/machine.cpp | 6 |
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(); } |
