summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emumem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emumem.cpp')
-rw-r--r--src/emu/emumem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp
index a06423d8e2f..3f8dde789b1 100644
--- a/src/emu/emumem.cpp
+++ b/src/emu/emumem.cpp
@@ -960,7 +960,7 @@ void memory_bank::set_entry(int entrynum)
if (entrynum < 0 || entrynum >= int(m_entries.size()))
throw emu_fatalerror("memory_bank::set_entry called with out-of-range entry %d", entrynum);
if (m_entries[entrynum] == nullptr)
- throw emu_fatalerror("memory_bank::set_entry called for bank '%s' with invalid bank entry %d", m_tag.c_str(), entrynum);
+ throw emu_fatalerror("memory_bank::set_entry called for bank '%s' with invalid bank entry %d", m_tag, entrynum);
m_curentry = entrynum;
}