diff options
author | 2015-04-22 11:30:19 +0200 | |
---|---|---|
committer | 2015-04-22 11:30:45 +0200 | |
commit | 54f8b3ae5df6736c58b2a8398f9ac85da425c96d (patch) | |
tree | 5924033acf314625b14317b674adc9e9730c97cc /src/emu/cpu/scmp | |
parent | 946958136d85f2a1485dfb962487cba43ac6c048 (diff) |
moved all to std::string (nw)
Diffstat (limited to 'src/emu/cpu/scmp')
-rw-r--r-- | src/emu/cpu/scmp/scmp.c | 4 | ||||
-rw-r--r-- | src/emu/cpu/scmp/scmp.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/scmp/scmp.c b/src/emu/cpu/scmp/scmp.c index a6a36dc604e..cbfaf6a82c2 100644 --- a/src/emu/cpu/scmp/scmp.c +++ b/src/emu/cpu/scmp/scmp.c @@ -547,12 +547,12 @@ void scmp_device::device_reset() COMMON STATE IMPORT/EXPORT ***************************************************************************/ -void scmp_device::state_string_export(const device_state_entry &entry, astring &str) +void scmp_device::state_string_export(const device_state_entry &entry, std::string &str) { switch (entry.index()) { case STATE_GENFLAGS: - str.printf("%c%c%c%c%c%c%c%c", + strprintf(str, "%c%c%c%c%c%c%c%c", (m_SR & 0x80) ? 'C' : '.', (m_SR & 0x40) ? 'V' : '.', (m_SR & 0x20) ? 'B' : '.', diff --git a/src/emu/cpu/scmp/scmp.h b/src/emu/cpu/scmp/scmp.h index 56f99ee1361..86590f93546 100644 --- a/src/emu/cpu/scmp/scmp.h +++ b/src/emu/cpu/scmp/scmp.h @@ -56,7 +56,7 @@ protected: virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const { return (spacenum == AS_PROGRAM) ? &m_program_config : NULL; } // device_state_interface overrides - void state_string_export(const device_state_entry &entry, astring &str); + void state_string_export(const device_state_entry &entry, std::string &str); // device_disasm_interface overrides virtual UINT32 disasm_min_opcode_bytes() const { return 1; } |