summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/ssem/ssem.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-22 11:30:19 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-22 11:30:45 +0200
commit54f8b3ae5df6736c58b2a8398f9ac85da425c96d (patch)
tree5924033acf314625b14317b674adc9e9730c97cc /src/emu/cpu/ssem/ssem.c
parent946958136d85f2a1485dfb962487cba43ac6c048 (diff)
moved all to std::string (nw)
Diffstat (limited to 'src/emu/cpu/ssem/ssem.c')
-rw-r--r--src/emu/cpu/ssem/ssem.c6
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;
}
}