summaryrefslogtreecommitdiffstats
path: root/docs/release/src/osd/winui/mui_audit.cpp
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2016-07-27 19:22:36 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2016-07-27 19:22:36 +1000
commit1c2ea023367ddbd15adeecefa7f425eb1eb5ef4a (patch)
tree546d084fbaf1c21457ba408706a5b74d886f766c /docs/release/src/osd/winui/mui_audit.cpp
parent437eeecc020c81384491dc193bf85a8ed5994b56 (diff)
0.176 Release Fileshbmame176
Diffstat (limited to 'docs/release/src/osd/winui/mui_audit.cpp')
-rw-r--r--docs/release/src/osd/winui/mui_audit.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/release/src/osd/winui/mui_audit.cpp b/docs/release/src/osd/winui/mui_audit.cpp
index 3f58b8526a7..e67e246e039 100644
--- a/docs/release/src/osd/winui/mui_audit.cpp
+++ b/docs/release/src/osd/winui/mui_audit.cpp
@@ -1,4 +1,5 @@
// For licensing and usage information, read docs/winui_license.txt
+// MASTER
//****************************************************************************
/***************************************************************************
@@ -165,9 +166,15 @@ int MameUIVerifyRomSet(int game, bool choice)
}
else
if (choice)
+ {
auditor.winui_summarize(driver_list::driver(game).name, &summary_string); // audit all games
+ }
else
- auditor.summarize(driver_list::driver(game).name, &summary_string); // audit one game
+ {
+ std::ostringstream whatever;
+ auditor.summarize(driver_list::driver(game).name, &whatever); // audit one game
+ summary_string = whatever.str();
+ }
// output the summary of the audit
DetailsPrintf("%s", summary_string.c_str());
@@ -189,7 +196,11 @@ int MameUIVerifySampleSet(int game)
if (summary == media_auditor::NOTFOUND)
strcatprintf(summary_string, "%s: Sampleset NOT FOUND\n", driver_list::driver(game).name);
else
- auditor.summarize(driver_list::driver(game).name, &summary_string);
+ {
+ std::ostringstream whatever;
+ auditor.summarize(driver_list::driver(game).name, &whatever);
+ summary_string = whatever.str();
+ }
// output the summary of the audit
DetailsPrintf("%s", summary_string.c_str());
@@ -443,7 +454,7 @@ static void CLIB_DECL DetailsPrintf(const char *fmt, ...)
va_end(marker);
- t_s = tstring_from_utf8(ConvertToWindowsNewlines(buffer));
+ t_s = ui_wstring_from_utf8(ConvertToWindowsNewlines(buffer));
if( !t_s || _tcscmp(TEXT(""), t_s) == 0)
return;