Explorar el Código

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 hace 7 años
padre
commit
697a4669e1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();