summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-02 15:18:59 -0500
committerGravatar Lioncash2019-03-04 10:24:13 -0500
commit697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92 (patch)
tree002c9abafa6d6ec8359c6c43fa831056b5a26503 /src
parentcore/core: Replace direct usage of the global system telemetry accessor from ... (diff)
downloadyuzu-697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92.tar.gz
yuzu-697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92.tar.xz
yuzu-697a4669e1a3dd6150cd7f8b4f6dc794d7af7d92.zip
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.
Diffstat (limited to 'src')
-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) {
216 } 216 }
217 } 217 }
218 218
219 Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); 219 system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
220 220
221 system.Renderer().Rasterizer().LoadDiskResources(); 221 system.Renderer().Rasterizer().LoadDiskResources();
222 222