diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-15 14:33:16 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-16 12:52:40 +0200 |
commit | c4ed791164df7e3e74042a37a62077b4dc4ade91 (patch) | |
tree | 12bbcc09d0db32a0b6b5dc1bc49245964486da63 /src/core/perf_stats.cpp | |
parent | Merge pull request #4528 from lioncash/discard (diff) | |
download | yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar.gz yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar.bz2 yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar.lz yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar.xz yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.tar.zst yuzu-c4ed791164df7e3e74042a37a62077b4dc4ade91.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/perf_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp index b899ac884..b93396a80 100644 --- a/src/core/perf_stats.cpp +++ b/src/core/perf_stats.cpp @@ -38,11 +38,11 @@ PerfStats::~PerfStats() { std::ostringstream stream; std::copy(perf_history.begin() + IgnoreFrames, perf_history.begin() + current_index, std::ostream_iterator<double>(stream, "\n")); - const std::string& path = FileUtil::GetUserPath(FileUtil::UserPath::LogDir); + const std::string& path = Common::FS::GetUserPath(Common::FS::UserPath::LogDir); // %F Date format expanded is "%Y-%m-%d" const std::string filename = fmt::format("{}/{:%F-%H-%M}_{:016X}.csv", path, *std::localtime(&t), title_id); - FileUtil::IOFile file(filename, "w"); + Common::FS::IOFile file(filename, "w"); file.WriteString(stream.str()); } |