summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-12 11:28:47 +0100
committerLioncash <mathew1800@gmail.com>2019-11-12 13:55:39 +0100
commit75dec14f216a48c8e70946e9da646a2e5273925e (patch)
tree838cc750e870b4cbf399a9bae3c5e6b2362f7800 /src
parentloader; Resolve sign conversion/truncation errors (diff)
downloadyuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar.gz
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar.bz2
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar.lz
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar.xz
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.tar.zst
yuzu-75dec14f216a48c8e70946e9da646a2e5273925e.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/perf_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp
index d2c69d1a0..f1ae9d4df 100644
--- a/src/core/perf_stats.cpp
+++ b/src/core/perf_stats.cpp
@@ -81,7 +81,7 @@ double PerfStats::GetMeanFrametime() {
return 0;
}
const double sum = std::accumulate(perf_history.begin() + IgnoreFrames,
- perf_history.begin() + current_index, 0);
+ perf_history.begin() + current_index, 0.0);
return sum / (current_index - IgnoreFrames);
}