summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/validity.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:32:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:32:11 +0100
commitabb7f223b3bb4e16fa40f2c262aebce27091960e (patch)
treef575d9ebd5544f9231ff64d11ca242603236f410 /src/emu/validity.cpp
parentd5464a5799c26e9d3100dc0fa46dcdb16cb0812e (diff)
Revert "Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw)"
This reverts commit 841a55985e60a16f745422fb9aa06c420d8be8ba.
Diffstat (limited to 'src/emu/validity.cpp')
-rw-r--r--src/emu/validity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index b3068ae7993..fa8c8c58ef1 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -1042,7 +1042,7 @@ void validity_checker::build_output_prefix(std::string &str)
// if we have a current (non-root) device, indicate that
if (m_current_device != nullptr && m_current_device->owner() != nullptr)
- str.append(m_current_device->name()).append(" device '").append(m_current_device->tag().substr(1).c_str()).append("': ");
+ str.append(m_current_device->name()).append(" device '").append(m_current_device->tag().c_str()+1).append("': ");
// if we have a current port, indicate that as well
if (m_current_ioport != nullptr)