소스 검색

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