diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-30 03:49:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 03:49:13 +0200 |
commit | 81a0082f6bd4f2db9b09e56cce96351bb5084e46 (patch) | |
tree | 4309e2b742d485f9854bbe63de4393f7e8785f5c /src/common/memory_util.cpp | |
parent | Merge pull request #422 from bunnei/shader-mov (diff) | |
parent | string_util: Remove StringFromFormat() and related functions (diff) | |
download | yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.gz yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.bz2 yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.lz yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.xz yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.zst yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.zip |
Diffstat (limited to '')
-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; |