summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m740.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/m6502/m740.c')
-rw-r--r--src/emu/cpu/m6502/m740.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/m6502/m740.c b/src/emu/cpu/m6502/m740.c
index 330eff9f378..fc8b245b761 100644
--- a/src/emu/cpu/m6502/m740.c
+++ b/src/emu/cpu/m6502/m740.c
@@ -82,12 +82,12 @@ void m740_device::device_reset()
SP = 0x00ff;
}
-void m740_device::state_string_export(const device_state_entry &entry, astring &str)
+void m740_device::state_string_export(const device_state_entry &entry, std::string &str)
{
switch(entry.index()) {
case STATE_GENFLAGS:
case M6502_P:
- str.printf("%c%c%c%c%c%c%c",
+ strprintf(str, "%c%c%c%c%c%c%c",
P & F_N ? 'N' : '.',
P & F_V ? 'V' : '.',
P & F_T ? 'T' : '.',