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/ie15/ie15.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/ie15/ie15.cpp')
-rw-r--r-- | src/devices/cpu/ie15/ie15.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/ie15/ie15.cpp b/src/devices/cpu/ie15/ie15.cpp index 87de1cb2217..6adbc4feb6f 100644 --- a/src/devices/cpu/ie15/ie15.cpp +++ b/src/devices/cpu/ie15/ie15.cpp @@ -65,7 +65,7 @@ void ie15_device::device_start() state_add(IE15_A, "A", m_A); for (int ireg = 0; ireg < 32; ireg++) - state_add(IE15_R0 + ireg, strformat("R%d", ireg).c_str(), m_REGS[ireg]); + state_add(IE15_R0 + ireg, string_format("R%d", ireg).c_str(), m_REGS[ireg]); } //------------------------------------------------- @@ -137,7 +137,7 @@ void ie15_device::state_string_export(const device_state_entry &entry, std::stri switch (entry.index()) { case STATE_GENFLAGS: - strprintf(str, "%c%c%c", + str = string_format("%c%c%c", m_CF ? 'C':'.', m_ZF ? 'Z':'.', m_RF ? 'R':'.'); |