Просмотр исходного кода

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 лет назад
Родитель
Сommit
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();
     system.Renderer().Rasterizer().LoadDiskResources();