summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m6502/m65ce02.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/m6502/m65ce02.c')
-rw-r--r--src/emu/cpu/m6502/m65ce02.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/m6502/m65ce02.c b/src/emu/cpu/m6502/m65ce02.c
index cb3bb9a1651..0788683264a 100644
--- a/src/emu/cpu/m6502/m65ce02.c
+++ b/src/emu/cpu/m6502/m65ce02.c
@@ -104,12 +104,12 @@ void m65ce02_device::state_export(const device_state_entry &entry)
{
}
-void m65ce02_device::state_string_export(const device_state_entry &entry, astring &str)
+void m65ce02_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_E ? 'E' : '.',
@@ -119,7 +119,7 @@ void m65ce02_device::state_string_export(const device_state_entry &entry, astrin
P & F_C ? 'C' : '.');
break;
case M65CE02_B:
- str.printf("%02x", B >> 8);
+ strprintf(str, "%02x", B >> 8);
break;
}
}