瀏覽代碼

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.
Lioncash 7 年之前
父節點
當前提交
697a4669e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/yuzu_cmd/yuzu.cpp

+ 1 - 1
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();