diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-06 23:58:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-06 23:58:24 -0400 |
| commit | 6e4d2e672d1083f29186ea0ddcb33cd634e360e3 (patch) | |
| tree | cbd20aab8705f8efac340c509ca71b08865a1417 /src/core/file_sys/patch_manager.h | |
| parent | 2c0b0ad50d71ff3b9a50052362b2ffc5ca7977da (diff) | |
| parent | 38c2ac95af814e21e65e2785b276c4f64bfead71 (diff) | |
Merge pull request #1396 from DarkLordZach/packed-updates
loader: Add support for packed updates
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
| -rw-r--r-- | src/core/file_sys/patch_manager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index 6a864ec43..2ae9322a1 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -46,11 +46,13 @@ 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"} - std::map<std::string, std::string, std::less<>> GetPatchVersionNames() const; + std::map<std::string, std::string, std::less<>> GetPatchVersionNames( + VirtualFile update_raw = nullptr) const; // Given title_id of the program, attempts to get the control data of the update and parse it, // falling back to the base control data. |
