diff options
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 |
commit | 54f8b3ae5df6736c58b2a8398f9ac85da425c96d (patch) | |
tree | 5924033acf314625b14317b674adc9e9730c97cc /src/emu/cpu/m6502/m65ce02.c | |
parent | 946958136d85f2a1485dfb962487cba43ac6c048 (diff) |
moved all to std::string (nw)
Diffstat (limited to 'src/emu/cpu/m6502/m65ce02.c')
-rw-r--r-- | src/emu/cpu/m6502/m65ce02.c | 6 |
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; } } |