mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 16:55:39 +00:00
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.
This commit is contained in:
parent
6f251a6db2
commit
d37a2fb9e6
|
@ -374,7 +374,7 @@ int main(int argc, char** argv) {
|
|||
break; // Expected case
|
||||
}
|
||||
|
||||
Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
|
||||
system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
|
||||
|
||||
if (use_multiplayer) {
|
||||
if (auto member = Network::GetRoomMember().lock()) {
|
||||
|
|
Loading…
Reference in a new issue