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

Function SetProgressMessage

3rdparty/rainterface/RA_Interface.cpp:308–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308static void SetProgressMessage(IProgressDialog* pProgressDialog, DWORD nProgress, DWORD nMax)
309{
310 wchar_t sNum[32];
311 std::wstring sMessage;
312
313 FormatByteSize(nProgress, sNum, sizeof(sNum) / sizeof(sNum[0]));
314 sMessage.append(sNum);
315 sMessage.append(L" of ");
316
317 FormatByteSize(nMax, sNum, sizeof(sNum) / sizeof(sNum[0]));
318 sMessage.append(sNum);
319
320 pProgressDialog->SetLine(2, sMessage.c_str(), FALSE, NULL);
321}
322
323#endif
324

Callers 1

DoBlockingHttpCallFunction · 0.85

Calls 3

FormatByteSizeFunction · 0.85
appendMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected