summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/auditmenu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-03-01 06:45:41 +1100
committer Vas Crabb <vas@vastheman.com>2016-03-01 06:52:36 +1100
commita830ea76270b7894a03922a172d58bfaefbc827f (patch)
tree01d929c08c8fa3e66285a3130004d4aa5d31e393 /src/emu/ui/auditmenu.cpp
parentb2fc583ed75b19321849fcd4fec518e2b719294b (diff)
* Support *n conversion in stream_format/string_format
* Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation
Diffstat (limited to 'src/emu/ui/auditmenu.cpp')
-rw-r--r--src/emu/ui/auditmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/ui/auditmenu.cpp b/src/emu/ui/auditmenu.cpp
index 43f057f0b10..68b3c2d285b 100644
--- a/src/emu/ui/auditmenu.cpp
+++ b/src/emu/ui/auditmenu.cpp
@@ -179,21 +179,21 @@ void ui_menu_audit::save_available_machines()
// generate header
std::ostringstream buffer;
buffer << "#\n" << UI_VERSION_TAG << bare_build_version << "\n#\n\n";
- stream_format(buffer, "%d\n", m_availablesorted.size());
- stream_format(buffer, "%d\n", m_unavailablesorted.size());
+ util::stream_format(buffer, "%d\n", m_availablesorted.size());
+ util::stream_format(buffer, "%d\n", m_unavailablesorted.size());
// generate available list
for (size_t x = 0; x < m_availablesorted.size(); ++x)
{
int find = driver_list::find(m_availablesorted[x]->name);
- stream_format(buffer, "%d\n", find);
+ util::stream_format(buffer, "%d\n", find);
}
// generate unavailable list
for (size_t x = 0; x < m_unavailablesorted.size(); ++x)
{
int find = driver_list::find(m_unavailablesorted[x]->name);
- stream_format(buffer, "%d\n", find);
+ util::stream_format(buffer, "%d\n", find);
}
file.puts(buffer.str().c_str());
file.close();