diff options
Diffstat (limited to 'src/emu/cpu/nec/nec.c')
-rw-r--r-- | src/emu/cpu/nec/nec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/nec/nec.c b/src/emu/cpu/nec/nec.c index ea1593f7a1c..de109bfa176 100644 --- a/src/emu/cpu/nec/nec.c +++ b/src/emu/cpu/nec/nec.c @@ -435,14 +435,14 @@ void nec_common_device::device_start() m_icountptr = &m_icount; } -void nec_common_device::state_string_export(const device_state_entry &entry, astring &str) +void nec_common_device::state_string_export(const device_state_entry &entry, std::string &str) { UINT16 flags = CompressFlags(); switch (entry.index()) { case STATE_GENFLAGS: - str.printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c", + strprintf(str, "%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c", flags & 0x8000 ? 'N':'E', flags & 0x4000 ? '?':'.', flags & 0x2000 ? '?':'.', |