summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/distate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/distate.cpp')
-rw-r--r--src/emu/distate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/distate.cpp b/src/emu/distate.cpp
index e01609615d4..cd47948abd2 100644
--- a/src/emu/distate.cpp
+++ b/src/emu/distate.cpp
@@ -128,7 +128,7 @@ void device_state_entry::format_from_mask()
// make up a format based on the mask
if (m_datamask == 0)
- throw emu_fatalerror("%s state entry requires a nonzero mask\n", m_symbol.c_str());
+ throw emu_fatalerror("%s state entry requires a nonzero mask\n", m_symbol);
int width = 0;
for (u64 tempmask = m_datamask; tempmask != 0; tempmask >>= 4)
width++;