diff options
| -rw-r--r-- | src/core/file_sys/patch_manager.cpp | 4 | ||||
| -rw-r--r-- | src/yuzu/game_list_worker.cpp | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index b43880e92..3fc44fb5c 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp | |||
| @@ -209,7 +209,7 @@ VirtualFile PatchManager::PatchRomFS(VirtualFile romfs, u64 ivfc_offset, Content | |||
| 209 | const auto new_nca = std::make_shared<NCA>(update, romfs, ivfc_offset); | 209 | const auto new_nca = std::make_shared<NCA>(update, romfs, ivfc_offset); |
| 210 | if (new_nca->GetStatus() == Loader::ResultStatus::Success && | 210 | if (new_nca->GetStatus() == Loader::ResultStatus::Success && |
| 211 | new_nca->GetRomFS() != nullptr) { | 211 | new_nca->GetRomFS() != nullptr) { |
| 212 | LOG_INFO(Loader, " RomFS: Update (XCI) applied successfully"); | 212 | LOG_INFO(Loader, " RomFS: Update (PACKED) applied successfully"); |
| 213 | romfs = new_nca->GetRomFS(); | 213 | romfs = new_nca->GetRomFS(); |
| 214 | } | 214 | } |
| 215 | } | 215 | } |
| @@ -253,7 +253,7 @@ std::map<PatchType, std::string> PatchManager::GetPatchVersionNames(VirtualFile | |||
| 253 | FormatTitleVersion(meta_ver.get(), TitleVersionFormat::ThreeElements)); | 253 | FormatTitleVersion(meta_ver.get(), TitleVersionFormat::ThreeElements)); |
| 254 | } | 254 | } |
| 255 | } else if (update_raw != nullptr) { | 255 | } else if (update_raw != nullptr) { |
| 256 | out[PatchType::Update] = "XCI"; | 256 | out[PatchType::Update] = "PACKED"; |
| 257 | } | 257 | } |
| 258 | } | 258 | } |
| 259 | 259 | ||
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp index 2bcc54b2f..af5b20b90 100644 --- a/src/yuzu/game_list_worker.cpp +++ b/src/yuzu/game_list_worker.cpp | |||
| @@ -69,7 +69,14 @@ QString FormatPatchNameVersions(const FileSys::PatchManager& patch_manager, | |||
| 69 | if (kv.second.empty()) { | 69 | if (kv.second.empty()) { |
| 70 | out.append(fmt::format("{}\n", kv.first).c_str()); | 70 | out.append(fmt::format("{}\n", kv.first).c_str()); |
| 71 | } else { | 71 | } else { |
| 72 | out.append(fmt::format("{} ({})\n", kv.first, kv.second).c_str()); | 72 | auto ver = kv.second; |
| 73 | |||
| 74 | // Display container name for packed updates | ||
| 75 | if (ver == "PACKED" && kv.first == FileSys::PatchType::Update) | ||
| 76 | ver = Loader::GetFileTypeString(loader.GetFileType()); | ||
| 77 | |||
| 78 | out.append( | ||
| 79 | fmt::format("{} ({})\n", FileSys::FormatPatchTypeName(kv.first), ver).c_str()); | ||
| 73 | } | 80 | } |
| 74 | } | 81 | } |
| 75 | 82 | ||