diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-27 14:59:50 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-01 03:01:35 +0200 |
commit | 7d86a008e219f37cd6fd58175ed6e4a0739e6ea5 (patch) | |
tree | 8dfdf30a3256750cb9baf648641b002cb420a330 /src/core/file_sys/patch_manager.cpp | |
parent | aoc_u: Implement Count, List and Prepare AddOnContent (diff) | |
download | yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar.gz yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar.bz2 yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar.lz yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar.xz yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.tar.zst yuzu-7d86a008e219f37cd6fd58175ed6e4a0739e6ea5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/patch_manager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index 5ac2b987e..ceb462ec4 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -33,7 +33,7 @@ std::string FormatTitleVersion(u32 version, TitleVersionFormat format) { return fmt::format("v{}.{}.{}", bytes[3], bytes[2], bytes[1]); } -constexpr std::array<const char*, 2> PATCH_TYPE_NAMES{ +constexpr std::array<const char*, 3> PATCH_TYPE_NAMES{ "Update", "LayeredFS", "DLC", @@ -141,7 +141,7 @@ std::map<PatchType, std::string> PatchManager::GetPatchVersionNames() const { std::map<PatchType, std::string> out; const auto installed = Service::FileSystem::GetUnionContents(); - // Update + // Game Updates const auto update_tid = GetUpdateTitleID(title_id); PatchManager update{update_tid}; auto [nacp, discard_icon_file] = update.GetControlMetadata(); @@ -160,6 +160,7 @@ std::map<PatchType, std::string> PatchManager::GetPatchVersionNames() const { } } + // LayeredFS const auto lfs_dir = Service::FileSystem::GetModificationLoadRoot(title_id); if (lfs_dir != nullptr && lfs_dir->GetSize() > 0) out.insert_or_assign(PatchType::LayeredFS, ""); |