patch_manager: Add support for packed updates

Will prefer any installed update over the packed version.
This commit is contained in:
Zach Hilman
2018-09-25 09:19:42 -04:00
parent 5045748829
commit d79d4fd764
4 changed files with 18 additions and 5 deletions

View File

@ -46,7 +46,8 @@ public:
// - Game Updates
// - LayeredFS
VirtualFile PatchRomFS(VirtualFile base, u64 ivfc_offset,
ContentRecordType type = ContentRecordType::Program) const;
ContentRecordType type = ContentRecordType::Program,
VirtualFile update_raw = nullptr) const;
// Returns a vector of pairs between patch names and patch versions.
// i.e. Update 3.2.2 will return {"Update", "3.2.2"}