diff options
Diffstat (limited to 'src/emu/cpu/pic16c5x/pic16c5x.c')
-rw-r--r-- | src/emu/cpu/pic16c5x/pic16c5x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/pic16c5x/pic16c5x.c b/src/emu/cpu/pic16c5x/pic16c5x.c index b1f9b2aefc6..78be71b5499 100644 --- a/src/emu/cpu/pic16c5x/pic16c5x.c +++ b/src/emu/cpu/pic16c5x/pic16c5x.c @@ -921,16 +921,16 @@ void pic16c5x_device::state_export(const device_state_entry &entry) } } -void pic16c5x_device::state_string_export(const device_state_entry &entry, astring &str) +void pic16c5x_device::state_string_export(const device_state_entry &entry, std::string &str) { switch (entry.index()) { case PIC16C5x_PSCL: - str.printf("%c%02X", ((m_OPTION & 0x08) ? 'W' : 'T'), m_prescaler); + strprintf(str, "%c%02X", ((m_OPTION & 0x08) ? 'W' : 'T'), m_prescaler); break; case STATE_GENFLAGS: - str.printf("%01x%c%c%c%c%c %c%c%c%03x", + strprintf(str, "%01x%c%c%c%c%c %c%c%c%03x", (STATUS & 0xe0) >> 5, STATUS & 0x10 ? '.':'O', /* WDT Overflow */ STATUS & 0x08 ? 'P':'D', /* Power/Down */ |