summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/e132xs
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/e132xs
parent946958136d85f2a1485dfb962487cba43ac6c048 (diff)
moved all to std::string (nw)
Diffstat (limited to 'src/emu/cpu/e132xs')
-rw-r--r--src/emu/cpu/e132xs/e132xs.c6
-rw-r--r--src/emu/cpu/e132xs/e132xs.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/e132xs/e132xs.c b/src/emu/cpu/e132xs/e132xs.c
index 258f0642673..613bc57a03f 100644
--- a/src/emu/cpu/e132xs/e132xs.c
+++ b/src/emu/cpu/e132xs/e132xs.c
@@ -1560,7 +1560,7 @@ void hyperstone_device::init(int scale_mask)
m_clock_scale_mask = scale_mask;
// register our state for the debugger
- astring tempstr;
+ std::string tempstr;
state_add(STATE_GENPC, "GENPC", m_global_regs[0]).noshow();
state_add(STATE_GENFLAGS, "GENFLAGS", m_global_regs[1]).callimport().callexport().formatstr("%40s").noshow();
state_add(E132XS_PC, "PC", m_global_regs[0]).mask(0xffffffff);
@@ -1847,12 +1847,12 @@ const address_space_config *hyperstone_device::memory_space_config(address_space
// for the debugger
//-------------------------------------------------
-void hyperstone_device::state_string_export(const device_state_entry &entry, astring &str)
+void hyperstone_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%c%c%c%c FTE:%X FRM:%X ILC:%d FL:%d FP:%d",
+ strprintf(str, "%c%c%c%c%c%c%c%c%c%c%c%c FTE:%X FRM:%X ILC:%d FL:%d FP:%d",
GET_S ? 'S':'.',
GET_P ? 'P':'.',
GET_T ? 'T':'.',
diff --git a/src/emu/cpu/e132xs/e132xs.h b/src/emu/cpu/e132xs/e132xs.h
index 9ab10d1cec1..2d8bc976cf8 100644
--- a/src/emu/cpu/e132xs/e132xs.h
+++ b/src/emu/cpu/e132xs/e132xs.h
@@ -241,7 +241,7 @@ protected:
virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
// device_state_interface overrides
- virtual void state_string_export(const device_state_entry &entry, astring &str);
+ virtual void state_string_export(const device_state_entry &entry, std::string &str);
// address spaces
const address_space_config m_program_config;