diff options
Diffstat (limited to 'src/emu/cpu/z80/z80.c')
-rw-r--r-- | src/emu/cpu/z80/z80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/z80/z80.c b/src/emu/cpu/z80/z80.c index c1dce14a44a..13f4a59ab6a 100644 --- a/src/emu/cpu/z80/z80.c +++ b/src/emu/cpu/z80/z80.c @@ -3666,12 +3666,12 @@ void z80_device::state_export( const device_state_entry &entry ) } } -void z80_device::state_string_export(const device_state_entry &entry, astring &str) +void z80_device::state_string_export(const device_state_entry &entry, std::string &str) { switch (entry.index()) { case STATE_GENFLAGS: - str.printf("%c%c%c%c%c%c%c%c", + strprintf(str, "%c%c%c%c%c%c%c%c", F & 0x80 ? 'S':'.', F & 0x40 ? 'Z':'.', F & 0x20 ? 'Y':'.', |