Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    core/telemetry_session: Remove usages of the global system accessor · 215fd827
    Lioncash authored
    Makes the dependency explicit in the TelemetrySession's interface
    instead of making it a hidden dependency.
    
    This also revealed a hidden issue with the way the telemetry session was
    being initialized. It was attempting to retrieve the app loader and log
    out title-specific information. However, this isn't always guaranteed to
    be possible.
    
    During the initialization phase, everything is being constructed. It
    doesn't mean an actual title has been selected. This is what the Load()
    function is for. This potentially results in dead code paths involving
    the app loader. Instead, we explicitly add this information when we know
    the app loader instance is available.
    215fd827