diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-30 00:37:15 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-30 00:52:33 +0200 |
commit | 3abba08080c88c49359e91ab2688c23fa066110a (patch) | |
tree | c354d58817e230cc2ba1306e449628ef8dafeb3d /src/common/memory_util.cpp | |
parent | Merge pull request #421 from Subv/sh_pred3 (diff) | |
download | yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.gz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.bz2 yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.lz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.xz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.zst yuzu-3abba08080c88c49359e91ab2688c23fa066110a.zip |
Diffstat (limited to 'src/common/memory_util.cpp')
-rw-r--r-- | src/common/memory_util.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index 79b7215d3..4d1ec8fb9 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp @@ -167,8 +167,7 @@ std::string MemUsage() { return "MemUsage Error"; if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc))) - Ret = Common::StringFromFormat( - "%s K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str()); + Ret = fmt::format("{} K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7)); CloseHandle(hProcess); return Ret; |