mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 13:55:46 +00:00
patch_manager: Add getter for title version
This commit is contained in:
parent
221996a194
commit
a468273221
2 changed files with 14 additions and 2 deletions
|
@ -66,8 +66,10 @@ public:
|
|||
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.
|
||||
std::optional<u32> GetGameVersion() 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.
|
||||
std::pair<std::unique_ptr<NACP>, VirtualFile> GetControlMetadata() const;
|
||||
|
||||
// Version of GetControlMetadata that takes an arbitrary NCA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue