VERY experimental Nintendo Switch 2 emulator
C++
perf_stats: Resolve implicit int to double conversion error
Lioncash6fb1953e6c13
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cppindex d2c69d1a07..f1ae9d4df5 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);}