diff options
| author | 2020-04-16 21:12:33 -0400 | |
|---|---|---|
| committer | 2020-04-16 21:12:33 -0400 | |
| commit | 79c1269f0fd25e8aaf090cd1f4640a52237a3fd3 (patch) | |
| tree | cef3d04b0e14887bbcb6b021d42e2420ae1588a4 /src/core/telemetry_session.cpp | |
| parent | Merge pull request #3600 from ReinUsesLisp/no-pointer-buf-cache (diff) | |
| parent | CMakeLists: Specify -Wextra on linux builds (diff) | |
| download | yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.tar.gz yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.tar.xz yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.zip | |
Merge pull request #3673 from lioncash/extra
CMakeLists: Specify -Wextra on linux builds
Diffstat (limited to 'src/core/telemetry_session.cpp')
| -rw-r--r-- | src/core/telemetry_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index 0f3685d1c..fd5a3ee9f 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp | |||
| @@ -153,9 +153,9 @@ void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader) { | |||
| 153 | app_loader.ReadTitle(name); | 153 | app_loader.ReadTitle(name); |
| 154 | 154 | ||
| 155 | if (name.empty()) { | 155 | if (name.empty()) { |
| 156 | auto [nacp, icon_file] = FileSys::PatchManager(program_id).GetControlMetadata(); | 156 | const auto metadata = FileSys::PatchManager(program_id).GetControlMetadata(); |
| 157 | if (nacp != nullptr) { | 157 | if (metadata.first != nullptr) { |
| 158 | name = nacp->GetApplicationName(); | 158 | name = metadata.first->GetApplicationName(); |
| 159 | } | 159 | } |
| 160 | } | 160 | } |
| 161 | 161 | ||