summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/h6280/h6280.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/h6280/h6280.c')
-rw-r--r--src/emu/cpu/h6280/h6280.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/h6280/h6280.c b/src/emu/cpu/h6280/h6280.c
index 5f3fccf9e04..ec6a11f6775 100644
--- a/src/emu/cpu/h6280/h6280.c
+++ b/src/emu/cpu/h6280/h6280.c
@@ -2189,12 +2189,12 @@ OP(op,ff) { h6280_cycles(4); bbs(7, rd_zpg()); } // 6/8 BBS7 ZPG,REL
// for the debugger
//-------------------------------------------------
-void h6280_device::state_string_export(const device_state_entry &entry, astring &str)
+void h6280_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_p & 0x80) ? 'N':'.',
(m_p & 0x40) ? 'V':'.',
(m_p & 0x20) ? 'R':'.',