diff options
author | 2016-02-28 11:09:00 +1100 | |
---|---|---|
committer | 2016-02-28 13:36:19 +1100 | |
commit | aec01e740736db267e452f0ed5947649f79e3408 (patch) | |
tree | 633ca7d80a756bfcc05d871817201c729e55142d /src/devices/cpu/i86/i286.cpp | |
parent | 3cba23966f6c1c6f9ee616e5af00ebcfcb0d0b0a (diff) |
Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format
Update MAME to use new function
Instantiate ODR-used static constant members
Make some of the UI code more localisable
Remove use of retired functions in tools
Diffstat (limited to 'src/devices/cpu/i86/i286.cpp')
-rw-r--r-- | src/devices/cpu/i86/i286.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i86/i286.cpp b/src/devices/cpu/i86/i286.cpp index 9f79007506a..7a7556deb8d 100644 --- a/src/devices/cpu/i86/i286.cpp +++ b/src/devices/cpu/i86/i286.cpp @@ -282,13 +282,13 @@ void i80286_cpu_device::state_string_export(const device_state_entry &entry, std switch (entry.index()) { case STATE_GENPC: - strprintf(str, "%08X", m_base[CS] + m_ip); + str = string_format("%08X", m_base[CS] + m_ip); break; case STATE_GENFLAGS: { UINT16 flags = CompressFlags(); - strprintf(str, "%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c", + str = string_format("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c", flags & 0x8000 ? '0':'.', flags & 0x4000 ? 'N':'.', flags & 0x2000 ? 'I':'.', |