summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mn10200/mn10200.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/mn10200/mn10200.c')
-rw-r--r--src/emu/cpu/mn10200/mn10200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/mn10200/mn10200.c b/src/emu/cpu/mn10200/mn10200.c
index 01c8f3ecdab..4456a65e70e 100644
--- a/src/emu/cpu/mn10200/mn10200.c
+++ b/src/emu/cpu/mn10200/mn10200.c
@@ -174,12 +174,12 @@ void mn10200_device::device_start()
}
-void mn10200_device::state_string_export(const device_state_entry &entry, astring &str)
+void mn10200_device::state_string_export(const device_state_entry &entry, std::string &str)
{
switch (entry.index())
{
case STATE_GENFLAGS:
- str.printf("S=%d irq=%s im=%d %c%c%c%c %c%c%c%c",
+ strprintf(str, "S=%d irq=%s im=%d %c%c%c%c %c%c%c%c",
(m_psw >> 12) & 3,
m_psw & FLAG_IE ? "on " : "off",
(m_psw >> 8) & 7,