diff options
Diffstat (limited to 'src/emu/cpu/ssem/ssem.c')
-rw-r--r-- | src/emu/cpu/ssem/ssem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/ssem/ssem.c b/src/emu/cpu/ssem/ssem.c index 93f7d5281b7..0bd4133a563 100644 --- a/src/emu/cpu/ssem/ssem.c +++ b/src/emu/cpu/ssem/ssem.c @@ -98,7 +98,7 @@ void ssem_device::device_start() m_program = &space(AS_PROGRAM); // register our state for the debugger - astring tempstr; + std::string tempstr; state_add(STATE_GENPC, "GENPC", m_pc).noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_halt).callimport().callexport().formatstr("%1s").noshow(); state_add(SSEM_PC, "PC", m_shifted_pc).mask(0xffff); @@ -148,12 +148,12 @@ const address_space_config *ssem_device::memory_space_config(address_spacenum sp // for the debugger //------------------------------------------------- -void ssem_device::state_string_export(const device_state_entry &entry, astring &str) +void ssem_device::state_string_export(const device_state_entry &entry, std::string &str) { switch (entry.index()) { case STATE_GENFLAGS: - str.printf("%c", m_halt ? 'H' : '.'); + strprintf(str, "%c", m_halt ? 'H' : '.'); break; } } |