diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-06-25 22:25:10 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-06-25 22:25:10 -0400 |
| commit | 12105d8909dfeaee9340878f00c4bd309c5808ce (patch) | |
| tree | a1ef0e65dfd79f8badde8dcd24014432428c51f8 /src/core/file_sys/patch_manager.h | |
| parent | 22bea84c516724c9ed4cb824f3e0cda83c8d3c3b (diff) | |
glue: Correct missing bytes in ApplicationLaunchParameter
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
| -rw-r--r-- | src/core/file_sys/patch_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index f82b4ae1e3..a363c6577f 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -66,6 +66,9 @@ public: std::map<std::string, std::string, std::less<>> GetPatchVersionNames( VirtualFile update_raw = nullptr) const; + // If the game update exists, returns the u32 version field in its Meta-type NCA. If that fails, + // it will fallback to the Meta-type NCA of the base game. If that fails, the result will be + // std::nullopt std::optional<u32> GetGameVersion() const; // Given title_id of the program, attempts to get the control data of the update and parse |
