From aec01e740736db267e452f0ed5947649f79e3408 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 28 Feb 2016 11:09:00 +1100 Subject: 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 --- src/devices/cpu/upd7725/upd7725.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/cpu/upd7725') diff --git a/src/devices/cpu/upd7725/upd7725.cpp b/src/devices/cpu/upd7725/upd7725.cpp index ef211dd13c3..a3913e3f6c1 100644 --- a/src/devices/cpu/upd7725/upd7725.cpp +++ b/src/devices/cpu/upd7725/upd7725.cpp @@ -207,7 +207,7 @@ void necdsp_device::state_string_export(const device_state_entry &entry, std::st switch (entry.index()) { case UPD7725_FLAGA: - strprintf(str, "%s %s %c%c %s %s %s %s", + str = string_format("%s %s %c%c %s %s %s %s", regs.flaga.s1 ? "S1" : "s1", regs.flaga.s0 ? "S0" : "s0", regs.flaga.c ? 'C' : 'c', @@ -219,7 +219,7 @@ void necdsp_device::state_string_export(const device_state_entry &entry, std::st break; case UPD7725_FLAGB: - strprintf(str, "%s %s %c%c %s %s %s %s", + str = string_format("%s %s %c%c %s %s %s %s", regs.flagb.s1 ? "S1" : "s1", regs.flagb.s0 ? "S0" : "s0", regs.flagb.c ? 'C' : 'c', -- cgit v1.2.3-70-g09d2