diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-02 21:17:40 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-04 16:24:13 +0100 |
commit | b5f0dc95db9af2ce58c3c0348598763f470458ab (patch) | |
tree | 7a37a1a62d57f468f0823274ada7a1655b4b6624 | |
parent | video_core/renderer_opengl: Replace direct usage of global system object accessors (diff) | |
download | yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar.gz yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar.bz2 yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar.lz yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar.xz yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.tar.zst yuzu-b5f0dc95db9af2ce58c3c0348598763f470458ab.zip |
-rw-r--r-- | src/core/core.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index ab7181a05..3f4e9c3a8 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -182,13 +182,13 @@ struct System::Impl { void Shutdown() { // Log last frame performance stats - auto perf_results = GetAndResetPerfStats(); - Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_EmulationSpeed", - perf_results.emulation_speed * 100.0); - Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate", - perf_results.game_fps); - Telemetry().AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime", - perf_results.frametime * 1000.0); + const auto perf_results = GetAndResetPerfStats(); + telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_EmulationSpeed", + perf_results.emulation_speed * 100.0); + telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Framerate", + perf_results.game_fps); + telemetry_session->AddField(Telemetry::FieldType::Performance, "Shutdown_Frametime", + perf_results.frametime * 1000.0); is_powered_on = false; |