diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-12-21 22:47:30 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-12-21 22:47:30 -0500 |
commit | 0a5d207e667075f4ea0618339d971c0f977d9ce1 (patch) | |
tree | 9ccac3725e3ed25e4ab56fe43a4a50d821d54e0d /src/emu/emumem.cpp | |
parent | 1ed70b0181557558aa2e685f7f7bbe81a54d0626 (diff) |
Eliminate many unnecessary c_str calls
Diffstat (limited to 'src/emu/emumem.cpp')
-rw-r--r-- | src/emu/emumem.cpp | 2 |
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; } |