summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-02 15:18:59 -0500
committerLioncash <mathew1800@gmail.com>2019-03-04 10:24:13 -0500
commit697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92 (patch)
tree002c9abafa6d6ec8359c6c43fa831056b5a26503
parentb5f0dc95db9af2ce58c3c0348598763f470458ab (diff)
yuzu-cmd/yuzu: Replace direct usage of the global system telemetry accessor in main()
We already have the system instance around, so we can use that instead of the accessor.
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index c34b5467f..c6c66a787 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -216,7 +216,7 @@ int main(int argc, char** argv) {
}
}
- Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
+ system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
system.Renderer().Rasterizer().LoadDiskResources();