MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / SetFormattedStatusText

Method SetFormattedStatusText

common/ProgressCallback.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14ProgressCallback::~ProgressCallback() {}
15
16void ProgressCallback::SetFormattedStatusText(const char* Format, ...)
17{
18 va_list ap;
19
20 va_start(ap, Format);
21 const std::string str(StringUtil::StdStringFromFormatV(Format, ap));
22 va_end(ap);
23
24 SetStatusText(str.c_str());
25}
26
27void ProgressCallback::DisplayFormattedError(const char* format, ...)
28{

Callers 2

StageUpdateMethod · 0.80
wWinMainFunction · 0.80

Calls 2

StdStringFromFormatVFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected